StealThis .dev
Pages Medium

Travel — Travel Story / Photo Essay

A cinematic long-form travel photo essay with a full-bleed gradient cover, byline, and read time, then alternating large CSS-and-SVG photo panels, serif prose, pull-quotes, an inline stylised route map, and a parallax coastal band. Vanilla JS drives a top reading-progress bar, scroll-reveal of every panel, layered parallax on the cover and mid-band, a sticky masthead that appears past the fold, a save-to-reading-list toggle, and interactive map pins. Immersive, editorial, lots of air.

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

Code

Travel Story / Photo Essay

A full magazine feature rendered as one self-contained page. It opens on a cinematic full-bleed cover — a layered sunset-over-mountains scene built entirely from CSS gradients and inline SVG ridges — carrying the title, an italic deck, a byline with avatar, and a read-time. Below, the essay alternates large 16:9 “photograph” panels (a dusk harbour, a single lit cabin, a fog-bound lighthouse, each drawn in CSS) with airy serif prose, a drop-capped lede, centered pull-quotes, and an editorial caption style numbered like plate references.

The interactions all genuinely work. A gradient reading-progress bar tracks scroll across the top; every panel, chapter, and quote fades up via IntersectionObserver as it enters the viewport; the cover layers and a mid-essay coastal band parallax at different rates on scroll; and a translucent masthead slides in once you pass the fold, with anchor navigation that smooth-scrolls and moves focus. A Save control toggles the article into a reading list, and a stylised SVG route map lets you click pins (Havnsund, Tidewatch, Grånes) to reveal day-by-day field notes in a live region.

Everything is keyboard-usable with visible focus rings, contrast meets WCAG AA, motion is disabled under prefers-reduced-motion, and the layout collapses gracefully from a two-up duo to a single column down to 360px. No images, no libraries — pure HTML, CSS, and vanilla JS.

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