StyleKit

Fullscreen Hero

全屏英雄区布局

Rate this style

A hero section layout with fullscreen images or video backgrounds that captures attention through stunning visuals, ideal for brand showcases, product launches, and event promotions.

fullscreen herohero sectionhero imagevideo backgroundfullscreen background image100vhabove the foldimmersive landing pagebrand showcaseproduct launch page

Best For

fullscreen hero / hero section / hero image

Primary Move

Use h-screen or min-h-screen to ensure fullscreen coverage

Watch Out

Do NOT place text directly on complex backgrounds without an overlay

design.md

Fullscreen Hero as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Fullscreen Hero — Style Reference

A full viewport of image speaks first; the copy is only a caption on top of it.

Theme: dark

Fullscreen Hero hands the first viewport to an image or a video: 100vh, a full-bleed background, and a 30% to 50% black veil so text stays readable. The typography inverts the usual order — headline very large at 56 to 96px, subtitle short, exactly two actions, everything else pushed below the fold. Buttons invert (white fill, black text) so they break out of the dark veil. There is one visual flourish only: the CTA's gravity float, lifting 4px on hover while its shadow bursts to 28px, as if light were holding it up. The background may parallax at 0.3 to 0.5 as the page scrolls.

Colors

NameValueTokenRole
White#ffffff--color-whitePrimary button fill and headline text — above full-bleed imagery, white is the only reliable ground.
Black#000000--color-blackVeil and button text. The veil sits on the image at 30% to 50% opacity.
Coral#ff6b6b--color-coralSecondary emphasis and badges, for details that must break out of the image.
Cyan#4ecdc4--color-cyanLink and secondary button hover, pairing cool against warm imagery.
Yellow#ffe66d--color-yellowHighlights and figures, only as small annotations.
Indigo#6c5ce7--color-indigoThe brand tone, on the logo and one accent — never at equal area with coral or yellow.

Typography

Inter — The only face. The hero headline gets its force from 96px and -0.035em tracking; every other size drops away quickly.
  • Substitute: -apple-system, 'Segoe UI', system-ui, sans-serif
  • Weights: 400, 500, 600, 700
  • Sizes: 13, 15, 18, 24, 40, 64, 96
  • Line height: 0.98 (display), 1.1 (headings), 1.6 (body)
  • Letter spacing: -0.035em on display, 0.08em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
display—70096px0.98-0.035em--text-display
heading-lg—70064px1.02-0.03em--text-heading-lg
heading—60040px1.1-0.02em--text-heading
subheading—40024px1.3—--text-subheading
body-lg—40018px1.6—--text-body-lg
body—40015px1.6—--text-body
label—60013px1.40.08em--text-label

Spacing & Layout

Base unit: 8px Density: airy

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
128128px--spacing-128
192192px--spacing-192
Border Radius
ElementValue
cards16px
buttons999px
inputs12px
media0
  • Page max-width: 1280px
  • Section gap: 160px
  • Card padding: 32px
  • Element gap: 24px

Components

Hero CTA

Role: Primary hero action

White fill, black text, fully rounded at 999px, no border. 18px type at weight 600, 16px 32px padding, shadow 0 4px 14px at 30% black. Hover takes the fill to 95%, lifts 4px and bursts the shadow to 0 8px 28px at 50%; press scales 0.98, drops the lift and pulls the shadow back to 8px. The focus ring is 80% white with a black offset. 200ms ease-out.

  • Sizes: padding 16px 32px; label 18px
  • States: hover: lift 4px, shadow burst; active: scale 0.98
Frosted Feature Card

Role: Feature and stat cards inside the hero

10% white fill, 8px blur, a 1px white border at 20%, 16px radius, 32px padding. The icon tile is 48px square on a 20% white ground with a 12px radius. Hover raises the fill to 15%, the border to 30%, lifts 8px, applies a 0 16px 40px shadow at 50% black and scales the icon to 1.1. 300ms ease-out.

Transparent Nav

Role: Navigation over the hero

Fully transparent, no border, no shadow. 80px tall with 32px horizontal padding; wordmark and links are white, links at 13px/500 with 0.08em tracking and 32px gaps, fading to 70% white on hover. Past the first viewport it switches to a solid ground with a 1px bottom border at 10% white.

Hero Media

Role: Hero background image or video

100vh tall, full width, object-fit cover, square corners. A 40% black veil sits on top, reaching 55% at the top so the navigation stays legible. Parallax runs at 0.3 to 0.5. Video must be muted, looping and always carry a poster.

Do's and Don'ts

Do
  • The hero fills exactly one viewport
  • Start the veil at 40% so copy stays readable
  • Invert the buttons: white fill, black text
  • Two lines of headline, one of subtitle
  • The CTA lifts and bursts its shadow on hover
  • Keep parallax between 0.3 and 0.5
Don't
  • No more than two buttons in the hero
  • Do not add body copy to the hero
  • Never place key information in the image corners
  • Never go below a 30% veil
  • No autoplaying video with sound
  • Do not push parallax past 0.6

Surfaces

LevelNameValuePurpose
0Full-bleed mediaimage or video at 100vh首屏背景
1Veilrgba(0,0,0,0.40)压在媒体上的遮罩
2Frosted panelrgba(255,255,255,0.10)首屏内的特性卡

Elevation

  • CTA rest: 0 4px 14px rgba(0,0,0,0.30)
  • CTA hover: 0 8px 28px rgba(0,0,0,0.50)
  • Card hover: 0 16px 40px rgba(0,0,0,0.50)

Imagery

Full-bleed photography or video is the entire content of this layout: landscape, product, event. The image needs clear light and dark zones for the copy to sit in, and nothing important in the corners. No illustration or pattern backgrounds.

Layout

The hero is 100vh with content centred or sitting at 60% height, capped at 1280px with 32px side padding. The headline runs two lines at most, the subtitle one, and the two buttons sit side by side. No more than three blocks live inside the hero. Sections below sit at least 160px apart.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #ffffff
  • veil: rgba(0,0,0,0.40)
  • ctaFill: #ffffff
  • ctaText: #000000
  • accent: #ff6b6b
  • secondary: #4ecdc4

EXAMPLE COMPONENT PROMPTS:

  1. Build a fullscreen hero: a 100vh container with a cover-fitted background image under a rgba(0,0,0,0.4) veil. Content is vertically centred with a 96px/700 white headline at -0.035em tracking, two lines maximum, a 24px subtitle at 80% white, and two buttons in a row — the first white on black-clear with a full radius (18px/600, 16px 32px padding, shadow 0 4px 14px rgba(0,0,0,0.3), lifting translateY(-4px) on hover with the shadow widening to 0 8px 28px).

Similar Brands

  • Cinematic Video Hero — Same full-bleed storytelling, though that one is driven by video editing
  • Immersive Photo — Also photography-led, with a slower pace and even less copy

Quick Start


:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-coral: #ff6b6b;
  --color-cyan: #4ecdc4;
  --color-yellow: #ffe66d;
  --color-indigo: #6c5ce7;

  /* Typography — Font Families */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 96px;
  --leading-display: 0.98;
  --tracking-display: -0.035em;
  --text-heading-lg: 64px;
  --leading-heading-lg: 1.02;
  --tracking-heading-lg: -0.03em;
  --text-heading: 40px;
  --leading-heading: 1.1;
  --tracking-heading: -0.02em;
  --text-subheading: 24px;
  --leading-subheading: 1.3;
  --text-body-lg: 18px;
  --leading-body-lg: 1.6;
  --text-body: 15px;
  --leading-body: 1.6;
  --text-label: 13px;
  --leading-label: 1.4;
  --tracking-label: 0.08em;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-96: 96px;
  --spacing-128: 128px;
  --spacing-192: 192px;

  /* Layout */
  --page-max-width: 1280px;
  --section-gap: 160px;
  --card-padding: 32px;
  --element-gap: 24px;
  --density: airy;

  /* Border Radius */
  --radius-cards: 16px;
  --radius-buttons: 999px;
  --radius-inputs: 12px;
  --radius-media: 0;

  /* Surfaces */
  --surface-full-bleed-media: image or video at 100vh;
  --surface-veil: rgba(0,0,0,0.40);
  --surface-frosted-panel: rgba(255,255,255,0.10);
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

Fullscreen Hero — Frequently Asked Questions

What is the Fullscreen Hero design style?
A hero section layout with fullscreen images or video backgrounds that captures attention through stunning visuals, ideal for brand showcases, product launches, and event promotions. Its core principle: Fullscreen Hero is a layout approach centered on visual impact, using fullscreen images or video to create an immersive first impression.
What colors does Fullscreen Hero use?
Fullscreen Hero uses #ffffff as its primary color and #000000 as its secondary color, with accent colors #ff6b6b, #4ecdc4, #ffe66d, #6c5ce7. Every hex value can be copied from the palette on this page.
How do I apply Fullscreen Hero correctly?
Key practices: Use h-screen or min-h-screen to ensure fullscreen coverage. Use object-cover on images to maintain aspect ratio fill. Add gradient or semi-transparent overlays to ensure text readability.
What are common mistakes with Fullscreen Hero?
Avoid: Do NOT place text directly on complex backgrounds without an overlay. Do NOT use low-quality or stretched images. Do NOT ignore mobile responsiveness.
How do I prompt AI to generate Fullscreen Hero UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: fullscreen hero, hero section, hero image, video background.
Global Styles

Global CSS

css
/* Fullscreen Hero Global Styles */

/* Base hero container */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image/video */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay variations */
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay-dark {
  background: rgba(0, 0, 0, 0.5);
}

.hero-overlay-gradient {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-overlay-color {
  background: rgba(99, 102, 241, 0.7);
  mix-blend-mode: multiply;
}

/* Content container */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1rem;
  max-width: 64rem;
}

/* Scroll indicator animation */
@keyframes hero-bounce {
  0%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(10px) translateX(-50%);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: hero-bounce 2s infinite;
}

/* Parallax effect */
.hero-parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* Ken Burns effect for images */
@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-kenburns .hero-bg {
  animation: kenburns 20s ease-out forwards;
}

.hero-fullscreen-filter { filter: brightness(1.05) contrast(1.02); }

.hero-fullscreen-focus { outline: 2px solid var(--hero-fullscreen-primary, currentColor); outline-offset: 2px; }

/* Additional techniques */
:root { --hero-fullscreen-radius: 0.75rem; --hero-fullscreen-transition: 0.3s ease; }

.hero-fullscreen-divider::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: 0.5rem; background: var(--hero-fullscreen-primary, currentColor); }

.hero-fullscreen-slant { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), 0 100%); }

.hero-fullscreen-glass { backdrop-filter: blur(8px) saturate(150%); -webkit-backdrop-filter: blur(8px) saturate(150%); }

Compatible Visual Styles

Try Pairing

Fullscreen Hero is a layout pattern that can be paired with the following visual styles.

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

Fullscreen Hero and Acid Graphics sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.

AttributeFullscreen HeroAcid Graphics
Primary color#ffffff#39ff14
Secondary color#000000#0a0a0a
Best forfullscreen hero / hero section / hero imageacid graphics / acid design / psychedelic design
Unique tags—high-contrast
Design Philosophy

Fullscreen Hero is a layout approach centered on visual impact, using fullscreen images or video to create an immersive first impression.

Design Recipes

Recommended Combinations with Fullscreen Hero

These curated recipes combine this style with layouts and animations, optimized for specific use cases.