Unleash The Power Of Scroll-Driven Animations | CSS-Tricks
Briefly

A scroll-driven animation is an animation that responds to scrolling, where there's a direct link between scrolling progress and the animation's progress as opposed to merely triggering it.
Unlike scroll-triggered animations that run in their entirety independent of scroll direction, scroll-driven animations pause, play, and run in sync with scrolling movement.
Learning how to manage scroll-driven animations is straightforward, as it's easier to connect existing CSS animations or WAAPI animations directly to scrolling behavior.
By using scroll-driven animations, developers can enhance performance, as libraries that implement them tend to handle scroll events efficiently without causing render-blocking issues that lead to jank.
Read at CSS-Tricks
[
|
]