Add a stacking cards effect (also called a sticky card stack) to the cards in [the section I point to]. Behaviour: every card uses position: sticky with a top offset that grows a little per card (for example 8vh + 16px per card), so the top edges of earlier cards stay visible like a pile. While the next card slides over the current one, scale the covered card down to about 0.92 and dim it slightly, based on how far the next card has travelled. Use a passive scroll listener with requestAnimationFrame, no library. Details: the cards need their own solid background so each new card stands out against the one below it. transform-origin at the top centre, no layout shift, the last card never shrinks. Respect prefers-reduced-motion: keep the sticky stack but drop the scale and dim. It must work on mobile from 360px wide. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
Scroll progress timeline
A vertical line that fills up as you scroll, and every step lights up when you reach it.
This is the real effect. Scroll or move your mouse inside the frame to try it.
Add a scroll progress timeline effect to [the list of steps I point to]: a vertical line that fills in as you scroll, and every step lights up when the line reaches it. Visual: a thin vertical track runs next to the steps, with a marker per step. On top of the track: a fill line, with a dot at the end of the fill. Behaviour: the dot always sits at the vertical middle of the screen while you scroll through the list, and the fill grows from the top of the track down to that dot. Clamp it so it never goes past the start or end of the track. Every step whose marker has passed the middle of the screen becomes active: its marker and text switch from the inactive to the active state, with a short transition. Use plain JavaScript with requestAnimationFrame on scroll, no library. On mobile (from 360px) the track stays on the left and the text wraps. Respect prefers-reduced-motion by removing the transitions. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
What it is
A timeline where the line draws itself while you scroll. A dot travels down at the middle of your screen, and every step it passes lights up.
When it works
Programs, roadmaps, a process in weeks. I use it for the curriculum on the Pagebuilder Exit Challenge page. It turns a plain list of weeks into something that shows progress, and progress is exactly what a curriculum is about.
Get it right
- Keep the dot at the middle of the screen. That is where people read.
- Make the active steps clearly stand out from the ones still to come.
- Short text per step. The movement does the work.
Also called
- Scroll-driven timeline
- Progress line on scroll
- Curriculum path
- Vertical timeline with fill
More effects.
All effects- ScrollPrompt
- ScrollPrompt
Add a sticky overlap reveal to [the sections I point to]: each full-screen panel pins in place while the next one slides over it like a new layer. Behaviour: every panel is position: sticky with top 0 and the full viewport height, so it stays put while the next panel scrolls up over it. While a panel is being covered, scale its content down to about 0.94, move its text up slightly and darken it with an overlay to about 55%, all based on how far the next panel has travelled. Use a passive scroll listener with requestAnimationFrame, no library. Images: object-fit: cover inside a fixed frame, so any image works, and keep the text readable on top of them. Works from 360px. Respect prefers-reduced-motion by keeping the pinning but removing the scale and movement. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
- ScrollPrompt
Add a scroll-scrubbed video effect to [the section I point to]: the video plays forward and backward with the scroll, like on Apple product pages. Behaviour: the section becomes a tall wrapper with a sticky inner panel of 100vh, and the video fills that panel with object-fit: cover. Map the scroll progress through the wrapper (0 to 1) to video.currentTime. Smooth it by easing the current time toward the target every animation frame, and skip a frame while the video is still seeking, so it never stutters. The video is muted, paused, playsinline and preload metadata, and only loads when the section comes near the viewport. Any captions in the section fade in during their own part of the scroll and stay readable on top of the video. Video file: for smooth scrubbing it needs a keyframe on every frame or every few frames (for example ffmpeg with -g 1 or -g 5). Keep it short and under 5 MB. Accessibility: with prefers-reduced-motion, show a poster image and the captions as a normal list instead. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.