Follow
Scroll Detection, that’s something you need JavaScript for, right?
Guess again! Thanks to Scroll-Driven Animations you can extract the scroll velocity, allowing you to style elements based on the active scroll direction and scroll speed 🤯
Article with demos: https://brm.us/css-scroll-detection