Shows how to build scroll-based text animations on a website, using Lenis for smooth scrolling and GreenSock (GSAP) for the animation. It begins with an HTML and CSS overview before moving into JavaScript imports and the animation code.
What you’ll learn
✓Add Lenis smooth scrolling to a web page
✓Animate text on scroll with GreenSock
✓Customize animations with data attributes and the fromTo method