Site Map
A prototype in the spirit of an old Geocities or Neocities page: transparent
PNG cutouts scattered around, each one a clickable link. The placeholder images
below are stand-ins — drop in your own cutouts (PNGs with transparent
backgrounds) and adjust positions in assets/main.scss to taste.
How it works
Each cutout is an <a> wrapping an <img>. The container .cutout-collage
is position: relative, and each .cutout is position: absolute with its
own offsets and rotation. There’s no <map> or <area> involved — the click
target is just the visible shape of the PNG, because transparent pixels don’t
register pointer events on an <img>.
To use your own photos
- Cut out the subject in your photo editor of choice and export as PNG with a transparent background.
- Save it to
assets/images/cutouts/. - Add another
<a class="cutout cutout--yourname">block above, and add a matching.cutout--yournamerule inassets/main.scsswithtop,left(orright/bottom), and a--rotvalue for the tilt.
Tradeoffs vs. classic <map>/<area>
- ✅ Click targets follow the visible shape of each PNG — no pixel-coordinate bookkeeping.
- ✅ Hover/focus styling works natively (rotation, scale, glow).
- ✅ Layout is real CSS, so it stays responsive.
- ⚠️ A single irregular hotspot inside one image still needs
<map>/<area>(or an SVG with embedded<a>elements). This pattern is for collages of separate cutouts, not regions within a single image.