Default Playhead
Tracks from when the element enters the viewport (bottom) to when it exits (top). The progress bar fills as you scroll through.
playhead-viewport-start="bottom"
playhead-viewport-end="top"
playhead-element-start="top"
playhead-element-end="bottom"
Transition Out
Triggered by the top of the screen — progress starts at 0 when the element is at the top and reaches 1 as it scrolls away. Great for exit animations.
playhead-viewport-start="top"
playhead-viewport-end="top"
playhead-element-start="top"
playhead-element-end="bottom"
Symmetric Playhead
Both start and end anchored to the viewport center. Text reveals from center outward as the element crosses the midpoint.
playhead-viewport-start="center"
playhead-viewport-end="center"
playhead-element-start="top"
playhead-element-end="bottom"
Sunset to Starlight
Sky transitions from golden hour to deep night. Mountain layers separate with parallax depth. Stars emerge in the second half.
default playhead (bottom → top)
Centered Playhead
Element center tracked against viewport edges. The ring orbits through the full color spectrum as it traverses.
playhead-viewport-start="bottom"
playhead-viewport-end="top"
playhead-element-start="center"
playhead-element-end="center"
Reversed
Layers converge inward instead of separating — parallax values push elements down as progress increases.
playhead-viewport-start="bottom"
playhead-viewport-end="top"
playhead-element-start="top"
playhead-element-end="center"
Multi-Effects
Rotation, scale, opacity, blur, clip-path, color cycling, and typography — all from a single --scroll-progress value.
default playhead (bottom → top)