Firefox 159 shipped on October 27, 2026 with scroll-driven animations turned on by default. Chrome has had them since version 115 and Safari since 26, so the feature is now Baseline Newly available : it works in the current version of every major browser.
That means two of the most common bits of "scroll JavaScript" on the web, a reading progress bar and fade-in-on-scroll cards, can now be plain CSS. No scroll listeners, no IntersectionObserver , and the animation runs off the main thread.
Here's how both work, the one ordering bug that catches almost everyone, and how to ship it safely.
Two new timelines
A normal CSS animation runs on the document timeline: time passes, the animation moves from the first keyframe to the last.β¦