CSS Scroll-Driven Animations: Progress Without IntersectionObserver Glue
animation-timeline: scroll() and view(), ranges, and how to animate on scroll without a rAF loop that fights the compositor.
1 min read
Tag
2 articles · 5 min of reading
animation-timeline: scroll() and view(), ranges, and how to animate on scroll without a rAF loop that fights the compositor.
Smooth page and state transitions used to require a JavaScript animation library and careful DOM choreography. The View Transitions API does it natively.