Scroll-driven animations are directly linked to scrolling progress, pausing and playing with scroll direction. Unlike scroll-triggered animations, which run independently, scroll-driven ones offer performance perks by avoiding render-blocking. Techniques are demonstrated using CSS properties like `animation-timeline` and

21m read timeFrom css-tricks.com
Post cover image
Table of contents
IntroductionCore Concepts: scroll() and ScrollTimelineCore Concepts: view() and ViewTimelineTimeline Ranges DemystifiedCore Concepts: Timeline Lookup and Named TimelinesAdd Scroll Shadows to a Scroll ContainerAnimate Elements in Different DirectionsAnimate 3D Models and More on ScrollScroll Velocity DetectionOutro
1 Comment

Sort: