Bramus · @bramus
1706 followers · 702 posts · Server front-end.social

In this post I share how you can (ab)use Scroll-Driven Animations to fake a `:snapped` selector – a fictitious selector that matches elements that are currently snapped within their scroll-snapping enabled ancestor scroller.

CSS IS FUN, YO! 🤩

🔗 brm.us/snapped

🏷️

#css #scrolldrivenanimations #scrollsnapping

Last updated 2 years ago