StealThis .dev
Pages Medium

Photography — Hero Landing

A gallery-dark studio hero with a full-bleed cinematic photo, a Fraunces wordmark, a transparent nav that turns solid on scroll, an animated scroll cue, and a strip of recent shots that zoom on hover — all vanilla, all self-contained, tuned for photographers who want the image to carry the page.

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

Code

A moody, image-first landing hero for a fictional photography studio, Aperture North. The viewport opens on a full-bleed cinematic photograph with a soft top-to-bottom gradient scrim so the studio wordmark, set in Fraunces, and the thin uppercase nav stay legible against any frame. A blinking scroll cue invites the visitor downward.

The navigation starts fully transparent over the photo and, driven by an IntersectionObserver, snaps to a solid blurred bar the moment the hero scrolls out of view — no scroll-jank, no layout shift. Below the fold, a “Recent Work” strip lays out four fictional shoots as full-bleed cards that zoom their imagery and lift on hover, each carrying a thin uppercase category badge.

Every control is keyboard-reachable with a visible focus ring, the layout collapses to a single column under 520px, and a small toast() helper acknowledges the contact and booking actions. Drop in your own Unsplash URLs or gradient blocks and the whole thing is production-ready.