Scroll-driven animations, one of the most requested CSS features of recent years, now work in every major browser engine. InfoQ reported on 4 December that Firefox’s decision to enable the feature by default completed cross-browser support, moving the API into the “Baseline newly available” category on MDN. The change landed with Firefox 159, which Mozilla’s developer release notes date to 27 October 2026.
A long road to support
According to InfoQ, Chrome and Edge shipped scroll-driven animations in version 115 in July 2023, and Safari followed in version 26 in September 2025. Firefox had the code for a long time but kept it behind a configuration flag from version 111 onward. The MDN release notes for Firefox 159 confirm that scroll-driven animations are now on by default. InfoQ also notes the feature was a named priority in Interop 2026, and quotes Docusaurus maintainer Sebastien Lorber pointing out that Firefox was the last major browser to ship it.
How the feature works
Normally a CSS keyframe animation runs on a time-based clock. Scroll-driven animations replace that clock with either the scroll position of a container or an element’s visibility inside the scrolling area. The scroll() function maps a scroll container from 0 to 100 percent, while view() tracks a single element as it crosses the visible region. Developers can also name timelines so that a parent element drives animations on its descendants.
In practice, effects such as a reading progress bar or content that fades in as it appears can be built with CSS alone, without scroll event listeners or IntersectionObserver code.
Caveats for developers
InfoQ highlights two practical gotchas. The animation-timeline property must be declared after the animation shorthand, otherwise the shorthand resets it. And, per MDN, Firefox requires a non-zero animation-duration value for an animation to apply on a scroll timeline, even though the duration does not actually control the effect.
For older browsers, the report recommends wrapping the new styles in a feature query that checks support for animation-timeline, so existing behaviour stays intact.
Native CSS versus JavaScript libraries
The native approach will not replace scroll libraries entirely. InfoQ says GSAP ScrollTrigger is still the recommended option for pinning, scrubbed timelines and sequenced motion. Agency write-ups cited in the article estimate that native CSS can handle roughly 80 to 90 percent of simple reveal and progress use cases. A key advantage is performance: scroll-driven animations run on the compositor thread, so they remain smooth even when the main thread is busy.
Accessibility matters
Heavy scroll-linked motion can make some users uncomfortable. InfoQ mentions a Hacker News discussion in which readers described a demo site as nauseating, and recommends respecting the prefers-reduced-motion media query so that users who ask for less motion get a calmer experience.
Sources:



