Scroll-driven Animation
Mood track «Nonstop» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Animazioni guidate dallo scroll · Scroll-triggered
Animation tied to scrolling. Elements reveal as they enter the viewport, progress bars fill and visual stories unfold as you scroll.
- Era
- 2015 – today
- Use
- Mainstream
Live demo
View code
<div class="progress"></div>
<p class="hint">↓ scorri ↓</p>
<section><div class="card">01 · Scopri</div><div class="card">02 · Esplora</div><div class="card">03 · Crea</div><div class="card">04 · Condividi</div><div class="card">05 · Ripeti</div></section> body{background:#0F172A;color:#F8FAFC;font-family:Sora,sans-serif;height:auto;min-height:100%}
.progress{position:fixed;top:0;left:0;height:4px;width:100%;background:linear-gradient(90deg,#38BDF8,#F472B6);transform-origin:left;transform:scaleX(0)}
.hint{text-align:center;padding:120px 0 40px;margin:0;opacity:.6}
section{display:grid;gap:24px;padding:0 24px 200px;max-width:420px;margin:auto}
.card{background:#1E293B;border-radius:16px;padding:40px 24px;font-size:22px;font-weight:700}
@supports (animation-timeline: view()){
.progress{animation:grow linear both;animation-timeline:scroll(root)}
.card{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
}
@keyframes grow{to{transform:scaleX(1)}}
@keyframes reveal{from{opacity:0;transform:translateY(60px) scale(.92)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.card{animation:none}} Characteristics
- Reveal on viewport entry
- Progress bound to scroll position
- Pinned sections (scrollytelling)
- Native via animation-timeline scroll() and view()
- Libraries like GSAP ScrollTrigger
Palette
Click a swatch to copy it
Typography
Headings · Sora Scroll-driven Animation
Body · Inter Animation tied to scrolling. Elements reveal as they enter the viewport, progress bars fill and visual stories unfold as you scroll.
Motion
- Easing
linear (legato allo scroll)- Typical duration
- proporzionale allo scroll
- Techniques
- animation-timeline scroll() / view(), IntersectionObserver, GSAP ScrollTrigger, Lenis smooth scroll
Accessibility (reduced motion)
Show all content immediately without reveals and disable artificial smooth scrolling.
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: Scroll-driven Animation (Animazioni guidate dallo scroll, Scroll-triggered). Animation tied to scrolling. Elements reveal as they enter the viewport, progress bars fill and visual stories unfold as you scroll. Characteristics: Reveal on viewport entry, Progress bound to scroll position, Pinned sections (scrollytelling), Native via animation-timeline scroll() and view(), Libraries like GSAP ScrollTrigger. Palette: #0F172A, #38BDF8, #F8FAFC, #F472B6, #1E293B. Typography: headings in Sora, body text in Inter (Google Fonts or equivalents). Mood: immersive, clean, energetic. Motion: easing linear (legato allo scroll), typical duration proporzionale allo scroll; techniques: animation-timeline scroll() / view(), IntersectionObserver, GSAP ScrollTrigger, Lenis smooth scroll. With prefers-reduced-motion: Show all content immediately without reveals and disable artificial smooth scrolling. References: Apple product pages, The New York Times «Snow Fall» (2012), scroll-driven-animations.style, GSAP ScrollTrigger.
Relations
Derives from
Influenced
References
- Apple product pages
- The New York Times «Snow Fall» (2012)
- scroll-driven-animations.style
- GSAP ScrollTrigger