· javascript
Staggering Scroll-Driven Animations with animation-range-start
The other day on the CSS-Tricks Slack channel, Danny Schwartz shared an interesting recent Master.dev article by Ashutosh Biswas on how to stagger CSS scrolling animations using a clever combo of several emergent CSS features and a lot of math, which Ashutosh admits is “a huge formula and can look intimidating.”
A heartbreaking work of staggering genius When Danny Slacked the link for the Frontend Masters article, he described it as “CSS on drugs.” Speaking of drugs, I am on heavy prescription painkillers while recovering from a serious injury, so that might not help my current comprehension skills. Nevertheless, after reading Ashutosh’s article a few times, here’s a meme showing how I’d feel using such an elaborate algorithm for something as mundane as staggering the animations of some characters as they scroll into view.



