StealThis .dev
Pages Medium

Cookbook — Food Magazine (Bon Appétit-style) landing

A glossy, high-contrast food-magazine landing page with a full-bleed cover-story hero, issue tag and byline, a varied-tile featured-stories grid with category tab filters, a horizontally scrolling trending-recipes strip, and a bold subscribe band. Built with editorial serif and sans typography, CSS-gradient food photography and emoji accents, a sticky condensing header, scroll-reveal animations, and a validating subscribe form — all vanilla HTML, CSS, and JavaScript with no images or libraries.

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

Code

Food Magazine (Bon Appétit-style) landing

A glossy, high-contrast magazine front page for a fictional food title, FOLIO. The cover story opens with a full-bleed gradient “photo” frame, a big editorial headline in Fraunces, an issue tag, and a byline — the magazine voice set before you scroll. Below it, a featured-stories grid mixes tall, wide, and standard tiles with kickers and read-times, followed by a horizontally scrollable trending-recipes strip and a bold black subscribe band.

All food imagery is built from layered CSS gradients, radial blobs, and tasteful emoji accents — no images or external libraries. The sticky header condenses on scroll, story tiles and recipe cards animate in via an IntersectionObserver scroll-reveal, and the section tabs filter the grid live (with an empty state when a category is unused). The subscribe form validates the email client-side and confirms with an accessible aria-live message plus a toast.

Everything is keyboard-usable with visible focus rings, landmark roles, and AA-contrast type, and the multi-column layouts collapse cleanly to a single column on small screens with a toggleable mobile menu.

Illustrative UI only — recipes & nutrition data are fictional, not dietary advice.