A CSS hero section is the first full-bleed band of a landing page where visitors get pitched in 3 seconds. These 30 hand-coded heroes are full-page landing-section starters you can drop into a marketing site today — find-and-replace the headline, swap the CTA, and ship.
The artisanal SaaS hero — eyebrow, serif headline, prose subhead, a single deep-terracotta primary CTA flanked by a quiet ghost button. Sage on warm cream, the small-batch tools-for-makers aesthetic.
Two-column hero with copy left, an SVG-painted dashboard mockup right. Rust red and ochre on deep brown — the heritage industrial / workshop aesthetic.
Tropical mesh gradient — overlapping radial blobs in mango, papaya, and dragon fruit on a warm coral base. The Stripe / Linear gradient hero, but turned up to a sunset.
Memphis-modern video-pretender — geometric SVG shapes oscillating like a video loop, pinned behind cobalt-on-bone copy with a lemon CTA. No real video, no licensing.
Mediterranean-tone social-proof hero — star rating pill above the headline, customer logo wall on warm cream, olive serif headlines with aubergine accents.
1950s-diner animated headline — words lift into view with staggered delay, retro coral and ivory on jet black, neon-script CTA. Flips between two taglines on a loop.
Native <code><input type="range"></code> drives a CSS clip-path slider that wipes between a "before" desert scene and an "after" lush scene. Burnt orange + petrol blue + cream.
Tall full-bleed hero with a bouncing scroll indicator at the bottom. Forest emerald on birch with a soft yellow CTA — the cabin / retreat brand aesthetic.
Construction-site asymmetric typography — broken across columns with intentional misalignment, hi-vis safety yellow on concrete grey, black hard rules.
A single phrase scrolls horizontally on a loop with a counter-direction line beneath. Hot tangerine on chocolate brown — the streetwear / drop-culture treatment.
Japanese traditional vertical typography — headline reads top-to-bottom using <code>writing-mode: vertical-rl</code>. Indigo on washi-paper white, vermillion seal stamp.
Rave-poster kinetic typography — letters rotate, scale, and float individually using per-letter delay. Acid green and magenta on pure black with strobe-like accents.
Apple-style bento hero — one large headline tile with stat / quote / pill cells fanning around it. Matte-ceramic palette: salmon, terracotta, ivory, olive.
Apple-keynote product shot — a CSS-painted device front-and-centre with floating feature badges that pulse around it. Ice blue + chrome silver on warm white.
Heritage-banking pricing-led hero — copy left, single-tier brass-on-forest pricing card right. The 37signals-style "we have one price" treatment with a vintage finance feel.
Tokyo-cyberpunk neon CTA — pure black backdrop, neon pink and electric cyan glows, single CTA that breathes with a soft pulse. The conversion-funnel pattern.
Three luxury-cosmetics product cards in 3D perspective, fanning forward on hover. Champagne and soft blush on jet — the high-end beauty / fragrance treatment.
Pure-CSS starfield — dots positioned via radial-gradient on a deep-navy backdrop. Electric yellow accent and dim white copy. No canvas, no per-particle DOM.
VHS-glitch hero — RGB-channel offsets create a tape-static glitch effect. VHS red and tape blue against a static-gray background, the analogue cyberpunk treatment.
Solar-corona conic gradient ring orbits the headline using <code>@property</code> animatable angle. Gold and ember orange on jet black — the AI / launch treatment with a stellar feel.
A hero section is the first full-bleed band of a landing page — typically containing an eyebrow tag, headline, subheadline, primary call-to-action, and a supporting visual. It's the most important block on the page because it carries the value proposition above the fold.
Should a hero be exactly 100vh tall?
Not always. Use `min-height: 100vh` for a true full-screen statement (campaign sites, agency portfolios), but `min-height: clamp(380px, 60vh, 720px)` is more practical for SaaS — tall enough to feel intentional, short enough that critical content below the fold isn't hidden on landscape laptops.
How do I make a hero section responsive?
Use `clamp()` for headline font sizes (`clamp(24px, 5vw, 64px)`), `padding: clamp(20px, 4vh, 80px) clamp(16px, 4vw, 40px)` for breathing room that scales, and a single breakpoint at 720px to switch split-column layouts to stacked. Avoid fixed pixel widths anywhere.
Do I need a background image?
No — these heroes use only inline SVG illustrations and pure-CSS gradients. Real photos add weight and licensing constraints; for visual richness, stack `radial-gradient` blobs (mesh gradient pattern) or `backdrop-filter: blur()` over coloured shapes (glassmorphism). Both rival photographic richness without the bytes.
Are these heroes accessible?
Yes. Every hero uses semantic HTML — `<section>` for the band, exactly one `<h1>` for the headline, real anchor links for CTAs. Animations honour `prefers-reduced-motion`, decorative SVG carries `aria-hidden="true"`, and color contrast on copy meets WCAG AA.