Pinned sections
Secciones fijadas · Pinned sections · Scroll pinning · Pin and scrub · Sezione fissata allo scroll
A section locks onto the screen while you keep scrolling, and the scroll drives what happens inside it, such as panels sliding sideways. Once the sequence ends, the page moves on normally.
- Era
- 2012 – today
- Use
- Mainstream
Live demo
View code
<main class="vp">
<div class="page">
<section class="pin">
<header><span>Capitolo 2 · fissato</span><i class="dots"><b></b><b></b><b></b></i></header>
<div class="track">
<article style="background:#3D5AFE;color:#fff"><b>01</b><h2>Idea</h2></article>
<article style="background:#FF5252;color:#fff"><b>02</b><h2>Forma</h2></article>
<article style="background:#FFD740"><b>03</b><h2>Lancio</h2></article>
</div>
</section>
<section class="next"><h2>E poi la pagina riparte ↓</h2></section>
</div>
</main> body{margin:0;height:100vh;display:grid;place-items:center;background:#F2EFE9;font-family:Inter,sans-serif;color:#121212}
.vp{width:440px;max-width:92vw;height:290px;overflow:hidden;border-radius:18px;border:2px solid #121212;background:#F2EFE9;position:relative}
.page{position:absolute;inset:0}
.pin,.next{height:290px;box-sizing:border-box;padding:16px}
header{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
.dots{display:flex;gap:6px}
.dots b{width:8px;height:8px;border-radius:50%;background:#BDB8AE}
.dots b:first-child{background:#121212}
.track{display:flex;gap:14px}
article{flex:none;width:100%;height:210px;border-radius:14px;padding:18px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}
article b{font-size:13px;opacity:.75}
h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;margin:0}
article h2{font-size:clamp(40px,12vw,68px);letter-spacing:-.03em}
.next{display:grid;place-items:center;background:#121212;color:#F2EFE9}
.next h2{font-size:24px}
@media (prefers-reduced-motion:no-preference){
.track{animation:tr 7s cubic-bezier(.65,0,.35,1) infinite}
.page{animation:pg 7s cubic-bezier(.65,0,.35,1) infinite}
.dots b:nth-child(1){animation:d1 7s infinite}
.dots b:nth-child(2){animation:d2 7s infinite}
.dots b:nth-child(3){animation:d3 7s infinite}
@keyframes tr{0%,12%{transform:none}28%,40%{transform:translateX(calc(-100% - 14px))}56%,80%{transform:translateX(calc(-200% - 28px))}82%,100%{transform:none}}
@keyframes pg{0%,64%{transform:none}78%,92%{transform:translateY(-290px)}100%{transform:none}}
@keyframes d1{0%,20%{background:#121212}21%,100%{background:#BDB8AE}}
@keyframes d2{0%,20%{background:#BDB8AE}21%,48%{background:#121212}49%,100%{background:#BDB8AE}}
@keyframes d3{0%,48%{background:#BDB8AE}49%,100%{background:#121212}}
} Characteristics
- Section pinned for a defined scroll distance
- Inner content driven by scroll
- Horizontal panels or numbered steps
- Sequence progress indicator
- Unpinning and return to vertical scroll
Palette
Click a swatch to copy it
Typography
Headings · Bricolage Grotesque Pinned sections
Body · Inter A section locks onto the screen while you keep scrolling, and the scroll drives what happens inside it, such as panels sliding sideways. Once the sequence ends, the page moves on normally.
Motion
- Easing
legato allo scroll (scrub), spesso con snap tra i passaggi- Typical duration
- 200–400 vh di scroll per sezione
- Techniques
- GSAP ScrollTrigger pin e scrub, ScrollMagic, position sticky su contenitore alto, CSS animation-timeline view(), Lenis per scroll fluido
Accessibility (reduced motion)
No pinning; the panels become a normal vertical sequence read by 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: Pinned sections (Secciones fijadas). A section locks onto the screen while you keep scrolling, and the scroll drives what happens inside it, such as panels sliding sideways. Once the sequence ends, the page moves on normally. Characteristics: Section pinned for a defined scroll distance, Inner content driven by scroll, Horizontal panels or numbered steps, Sequence progress indicator, Unpinning and return to vertical scroll. Palette: #F2EFE9, #121212, #3D5AFE, #FF5252, #FFD740, #BDB8AE. Typography: headings in Bricolage Grotesque, body text in Inter (Google Fonts or equivalents). Mood: immersive, bold, energetic. Motion: easing legato allo scroll (scrub), spesso con snap tra i passaggi, typical duration 200–400 vh di scroll per sezione; techniques: GSAP ScrollTrigger pin e scrub, ScrollMagic, position sticky su contenitore alto, CSS animation-timeline view(), Lenis per scroll fluido. With prefers-reduced-motion: No pinning; the panels become a normal vertical sequence read by scrolling. References: GSAP ScrollTrigger, ScrollMagic (2014), siti di racconto interattivo dei quotidiani, position sticky su MDN.
Relations
Derives from
Similar to
References
- GSAP ScrollTrigger
- ScrollMagic (2014)
- siti di racconto interattivo dei quotidiani
- position sticky su MDN