StealThis .dev
Pages Hard

News — Long-form Feature

An immersive editorial long-read for the fictional Meridian Review, opening on a full-bleed cinematic cover with an oversized Playfair masthead, byline and reading time, then a chaptered scroll body set in a strict column with hairline rules, a drop cap, captioned duotone press photos, full-bleed pull-quote breaks and a parallax night scene. A sticky chapter rail highlights the active section, a top progress bar tracks reading, and a slim masthead reveals on scroll, all driven by IntersectionObserver and vanilla JS.

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

Code

Long-form Feature

A cinematic magazine long-read for The Meridian Review, a fictional paper. The piece opens on a full-bleed cover — a duotone gradient “press photo” of a harbour at dusk, a huge Playfair Display title, an italic deck, and a byline with photographer credit and an eighteen-minute reading estimate. As you scroll past the cover, a thin progress bar tracks how far you’ve read and a slim masthead bar slides down to keep the paper’s name in reach.

The body is set in a single editorial column with hairline rules between chapters, a drop cap on the lead paragraph, justified text with hyphenation, captioned figures with red caption rules and credit lines, and oversized full-bleed pull-quote breaks. A fixed parallax night scene shifts beneath the text, and a sticky chapter rail on the left highlights whichever chapter is currently in view. The whole story — masthead, headlines, bylines and prose — is original, clearly-fictional editorial copy.

Interactions are pure vanilla JS: a requestAnimationFrame scroll loop drives the progress bar, parallax transforms and the reveal-on-scroll masthead; an IntersectionObserver tracks the active chapter for the rail; a second observer reveals figures and quote breaks as they enter; and Share / Back-to-top controls use the Web Share API with a clipboard fallback and a small toast() helper. Everything degrades gracefully and respects prefers-reduced-motion.

Illustrative UI only — masthead, headlines, bylines, and articles are fictional; not a real news publication.