StealThis .dev
Pages Medium

Cookbook — Rustic / Farmhouse Cookbook landing

A cozy farmhouse cookbook landing page built with warm cream, sage, and clay tones, a serif-and-sans editorial pairing, and CSS-gradient food photography. It pairs a handwritten overline hero and pre-order CTA with featured recipe cards, a from-our-kitchen story strip, seasonal categories, and a validated newsletter sign-up. Vanilla JavaScript powers reveal-on-scroll animations, a recipe-of-the-day rotator, and toast feedback, all responsive from phone to desktop.

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

Code

Rustic / Farmhouse Cookbook landing

A warm, handmade landing page for a fictional farmhouse cookbook, “The Copper Kettle.” The hero pairs a handwritten-style overline, a serif headline, and a “Get the cookbook” call to action with a gradient “harvest table” photo frame, floating food emoji, and a small recipe-of-the-day card. Below it sit a featured-recipes row, a “from our kitchen” story strip with a drop cap and signature, four seasonal category cards, a newsletter sign-up, and a homely footer.

The mood is cream, sage, and clay: textured paper background, dashed hand-drawn-ish frames, kraft tones, and an editorial Fraunces / Inter type pairing. All food imagery is pure CSS — layered radial gradients standing in for food photography plus tasteful emoji accents — with no images or external libraries.

Interactions are vanilla JavaScript: an IntersectionObserver reveals sections on scroll (and respects prefers-reduced-motion), the recipe-of-the-day card rotates through dishes on a timer and on tap/keyboard, and the newsletter form validates the email inline with an aria-live hint and a confirmation toast. Layouts collapse to a single column by ~720px and the design meets WCAG AA contrast with visible focus states.

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