view-timeline
Newly availableSince 202689% of users
A shorthand for defining a scroll timeline that is tied to when an element enters and leaves the visible part of the screen (the viewport). It's the core of modern 'reveal on scroll' animations.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since October 2026. Widely available around April 2029.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
See individual properties- Inherited
- No
- Applies to
- all elements
Quick example
.revealing-box {
view-timeline: --reveal block;
animation-timeline: --reveal;
/* animation starts when the box enters the viewport */
}Values
view-timeline-nameview-timeline-axisview-timeline-insetview-timeline browser support
BaselineNewly availableSince 2026 this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.Works in all modern browsers. May need a fallback for older browsers.
Usage89%of people can use this11% use a browser without it.
Browsers
115+
159+
26+
115+Mobile
115+Android
159+Android
26+iOS
Interop 2026 focus area. All major browsers are actively working to fix cross-browser inconsistencies for this feature in 2026. Learn more →