A great explainer (as always) from Josh Comeau going over the now safe-to-use CSS Scroll-Driven animations, which allow animating elements based on their scroll position on a page, such as entry/exit animations, scroll progress and more, without a single line of JavaScript!
I tried this out a while ago and loved how simple it is, but I always feel like those kind of animations are a bit too much for the type of stuff I build. 😅 Good to have the know-how, though.
