Video hero background
Video background · Hero video · Fullscreen video header · Vídeo de fondo · Video in loop · Background video loop
A site's first screen filled with a silent looping video, often slowed down, with a dark overlay and a big title on top. It shows a place or product in motion the moment the page opens, like a film's opening.
- Era
- 2013 – today
- Origin
- Web (globale)
- Use
- Mainstream
Live demo
View code
<div class="h"><div class="vid"><i class="sun"></i><i class="sea"></i><i class="road"></i><i class="bike">🚴</i></div><div class="ov"></div><div class="t"><p class="k">TOUR DEL CAFFÈ · SICILIA</p><h1>Pedalare fino al mare</h1><a>Scopri i percorsi</a></div><span class="pp">❚❚</span></div> body{font-family:Inter,sans-serif;color:#fff;overflow:hidden}
.h{position:relative;height:100%}.vid{position:absolute;inset:0;background:linear-gradient(#f7b267,#f79d65 40%,#f4845f 55%);overflow:hidden}
.sun{position:absolute;left:78%;top:14%;width:90px;height:90px;border-radius:50%;background:#ffe29a;box-shadow:0 0 60px #ffd36b}
.sea{position:absolute;left:0;right:0;top:55%;bottom:0;background:linear-gradient(#5b7da6,#2c4a6e)}
.road{position:absolute;left:-10%;right:-10%;bottom:0;height:30%;background:#3C4A3E;transform:skewY(-4deg);transform-origin:left}
.bike{position:absolute;bottom:22%;left:-10%;font-size:44px;font-style:normal;filter:brightness(.2)}
@media (prefers-reduced-motion: no-preference){.bike{animation:ride 9s linear infinite}.sea{animation:sh 4s ease-in-out infinite alternate}@keyframes ride{to{left:105%}}@keyframes sh{to{filter:brightness(1.15)}}.vid{animation:zm 18s ease-in-out infinite alternate}@keyframes zm{to{transform:scale(1.08)}}}
.bike{left:32%}
.ov{position:absolute;inset:0;background:linear-gradient(#0008,#0003 50%,#000a)}
.t{position:relative;height:100%;display:grid;place-content:center;text-align:center}.k{margin:0;font-size:11px;letter-spacing:.3em;color:#F2C14E}
h1{margin:6px 0 16px;font:600 44px 'Playfair Display',serif}a{justify-self:center;border:1.5px solid #fff;border-radius:999px;padding:10px 22px;font-size:13px;font-weight:600}
.pp{position:absolute;right:16px;bottom:14px;width:30px;height:30px;border-radius:50%;border:1px solid #fffa;display:grid;place-items:center;font-size:9px} Characteristics
- Full-screen, muted, seamlessly looping video
- Dark overlay or gradient for legible text
- Big centred title and a button
- Slow motion: aerial shots, slow-mo, close-ups
- Static fallback image on slow devices
Palette
Click a swatch to copy it
Typography
Headings · Playfair Display Video hero background
Body · Inter A site's first screen filled with a silent looping video, often slowed down, with a dark overlay and a big title on top. It shows a place or product in motion the moment the page opens, like a film's opening.
Motion
- Easing
lineare (il video stesso); fade-in 600–1000 ms del testo- Typical duration
- loop di 8–20 s
- Techniques
- video autoplay muted loop playsinline, object-fit cover, poster di riserva, overlay con linear-gradient, prefers-reduced-motion per mettere in pausa
Accessibility (reduced motion)
A still poster image is shown instead of the video, with a button to play it.
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: Video hero background (Video background, Hero video). A site's first screen filled with a silent looping video, often slowed down, with a dark overlay and a big title on top. It shows a place or product in motion the moment the page opens, like a film's opening. Characteristics: Full-screen, muted, seamlessly looping video, Dark overlay or gradient for legible text, Big centred title and a button, Slow motion: aerial shots, slow-mo, close-ups, Static fallback image on slow devices. Palette: #0E0E0E, #FFFFFF, #F2C14E, #3C4A3E. Typography: headings in Playfair Display, body text in Inter (Google Fonts or equivalents). Mood: immersive, dramatic, elegant. Motion: easing lineare (il video stesso); fade-in 600–1000 ms del testo, typical duration loop di 8–20 s; techniques: video autoplay muted loop playsinline, object-fit cover, poster di riserva, overlay con linear-gradient, prefers-reduced-motion per mettere in pausa. With prefers-reduced-motion: A still poster image is shown instead of the video, with a button to play it. References: Siti di hotel, turismo e moda dal 2013, Video autoplay HTML5, Linee guida W3C su prefers-reduced-motion.
Relations
Similar to
Contrasts with
References
- Siti di hotel
- turismo e moda dal 2013
- Video autoplay HTML5
- Linee guida W3C su prefers-reduced-motion