Sticky card stack
Tarjetas apiladas al hacer scroll · Sticky card stack · Stacking cards · Scroll stack · Card che si sovrappongono
As you scroll, each card sticks near the top and the next one slides over it, while those underneath shrink and darken like sheets in a pile. It tells steps or services one at a time.
- Era
- 2017 – today
- Use
- Mainstream
Live demo
View code
<main class="vp">
<p class="k">Il nostro metodo</p>
<article class="c c1"><b>01</b><h2>Ascoltare</h2><p>Partiamo dalle tue domande, non dalle nostre risposte.</p></article>
<article class="c c2"><b>02</b><h2>Progettare</h2><p>Schizzi, prototipi e test con persone vere.</p></article>
<article class="c c3"><b>03</b><h2>Lanciare</h2><p>Pubblichiamo, misuriamo e miglioriamo insieme.</p></article>
<i class="bar"><i></i></i>
</main> body{margin:0;height:100vh;display:grid;place-items:center;background:#0E0E10;font-family:Archivo,sans-serif;color:#0E0E10}
.vp{position:relative;width:420px;max-width:92vw;height:290px;overflow:hidden}
.k{color:#F5F0E8;margin:6px 0 0;font-size:13px;letter-spacing:.16em;text-transform:uppercase}
.c{position:absolute;left:0;right:14px;top:40px;height:200px;border-radius:22px;padding:22px;box-sizing:border-box;transform-origin:50% 0}
.c b{font-size:13px;font-weight:800;opacity:.6}
.c h2{font-size:clamp(30px,8vw,46px);font-weight:800;margin:4px 0 6px;letter-spacing:-.02em}
.c p{margin:0;max-width:260px;font-size:14px}
.c1{background:#FF6B35}.c2{background:#2EC4B6;transform:translateY(16px)}.c3{background:#E9C46A;transform:translateY(32px)}
.bar{position:absolute;right:0;top:40px;width:4px;height:200px;border-radius:4px;background:#3A3A40}
.bar i{position:absolute;left:0;right:0;top:0;height:60px;border-radius:4px;background:#F5F0E8}
@media (prefers-reduced-motion:no-preference){
.c1{animation:a1 6s cubic-bezier(.45,0,.2,1) infinite}
.c2{animation:a2 6s cubic-bezier(.45,0,.2,1) infinite}
.c3{animation:a3 6s cubic-bezier(.45,0,.2,1) infinite}
.bar i{animation:sb 6s cubic-bezier(.45,0,.2,1) infinite}
@keyframes a1{0%,10%{transform:none;filter:none}30%,40%{transform:scale(.95);filter:brightness(.75)}60%,85%{transform:scale(.9);filter:brightness(.6)}95%,100%{transform:none;filter:none}}
@keyframes a2{0%,10%{transform:translateY(260px)}30%,40%{transform:translateY(16px);filter:none}60%,85%{transform:translateY(16px) scale(.95);filter:brightness(.75)}95%,100%{transform:translateY(260px)}}
@keyframes a3{0%,40%{transform:translateY(270px)}60%,85%{transform:translateY(32px)}95%,100%{transform:translateY(270px)}}
@keyframes sb{0%,10%{transform:none}30%,40%{transform:translateY(70px)}60%,85%{transform:translateY(140px)}95%,100%{transform:none}}
} Characteristics
- Cards with position sticky and increasing offsets
- Covered cards scaled to 92–96 percent
- Slight darkening of the ones beneath
- Top edge of earlier cards staying visible
- Slideshow pacing inside a scrolling page
Palette
Click a swatch to copy it
Typography
Headings · Archivo Sticky card stack
Body · Archivo As you scroll, each card sticks near the top and the next one slides over it, while those underneath shrink and darken like sheets in a pile. It tells steps or services one at a time.
Motion
- Easing
legato allo scroll (lineare)- Typical duration
- dipende dallo scroll; circa 60–100 vh per card
- Techniques
- position sticky con top crescente, CSS animation-timeline view(), GSAP ScrollTrigger, IntersectionObserver, transform scale e filter brightness
Accessibility (reduced motion)
Cards stay sticky but without scaling or darkening, or become a plain vertical list.
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: Sticky card stack (Tarjetas apiladas al hacer scroll). As you scroll, each card sticks near the top and the next one slides over it, while those underneath shrink and darken like sheets in a pile. It tells steps or services one at a time. Characteristics: Cards with position sticky and increasing offsets, Covered cards scaled to 92–96 percent, Slight darkening of the ones beneath, Top edge of earlier cards staying visible, Slideshow pacing inside a scrolling page. Palette: #0E0E10, #F5F0E8, #FF6B35, #2EC4B6, #E9C46A, #3A3A40. Typography: headings in Archivo, body text in Archivo (Google Fonts or equivalents). Mood: bold, clean, immersive. Motion: easing legato allo scroll (lineare), typical duration dipende dallo scroll; circa 60–100 vh per card; techniques: position sticky con top crescente, CSS animation-timeline view(), GSAP ScrollTrigger, IntersectionObserver, transform scale e filter brightness. With prefers-reduced-motion: Cards stay sticky but without scaling or darkening, or become a plain vertical list. References: Sezioni servizi dei siti d'agenzia, position sticky su MDN, GSAP ScrollTrigger, esempi Codrops sulle card impilate.
Relations
Derives from
Similar to
References
- Sezioni servizi dei siti d'agenzia
- position sticky su MDN
- GSAP ScrollTrigger
- esempi Codrops sulle card impilate