StealThis .dev

Travel — Destination Photo Gallery

An editorial destination photo gallery for the fictional Wanderfolio magazine, where every frame is a layered CSS-and-SVG landscape rather than a real image. A justified masonry grid reveals caption and location overlays on hover, mood chips filter and reflow the wall instantly, and clicking any frame opens a focus-trapped lightbox with previous and next controls, keyboard navigation, a running counter, a best-time badge, a price tier and a save-to-trip affordance that keeps a live tally.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A magazine-style photo wall for the invented travel journal Wanderfolio. Twelve imagined destinations — hidden coves, alpine passes, neon side-streets, singing dunes and the northern lights — are rendered entirely as layered CSS gradients and inline SVG scenes, so the gallery ships with zero external images. The frames sit in a justified masonry grid that reveals a location pin, headline, star rating and best-time badge in a gradient overlay on hover or keyboard focus.

A row of mood chips (Coast & sea, Peaks & trails, City nights, Desert & dunes, Forest & falls) filters the wall in place: matching frames replay their entrance animation while the rest collapse out, and a live status line reports the count. Clicking or pressing Enter on any frame opens a lightbox built as a proper modal dialog — the full scene on one side, the story, best-time badge and price tier on the other.

The lightbox is fully keyboard-driven: focus is trapped inside, the arrow keys move between frames, a counter tracks your position within the current filter, and Escape returns focus to the frame you came from. A Save to trip pill toggles a heart and updates the masthead’s saved tally, with a toast confirming each change. The layout flows from three columns to two to one and the viewer stacks vertically, staying tappable down to about 360px.

Illustrative travel UI only — fictional destinations, prices, and maps.