Drive CSS animations from scroll position or element visibility with `scroll-timeline` and `view-timeline`, replacing JS scroll-listener libraries with compositor-thread animation.
CSS Scroll-driven Animations Module Level 1
Chrome for Developers — Scroll-driven animations