Scroll down to see four different ScrollTrigger patterns in action: stagger fade-in, parallax, pinned storytelling, and a progress counter.
Six cards fade in from below with a 0.1s stagger when the grid enters the viewport at start: 'top 75%'.
The heading drifts upward at y: -80 tied to scroll via scrub: 1. Scrolling up reverses it.
The section stays fixed on screen while you scroll. Scroll distance becomes animation progress.
Three panels fade in and out in sequence. The timeline is driven entirely by scroll position.
One GSAP timeline with pin: true and scrub: 1 handles all of this.
The number below reads self.progress inside onUpdate and reflects it as a percentage.
Keep scrolling ↓