view-timeline-inset
Newly availableSince 202688% of users
Allows you to offset the 'start' and 'end' points of a view-timeline. This is useful if you want an animation to start before an element is fully on screen (e.g., when it's 20% visible) or continue after it has partially left.
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
auto- Inherited
- No
- Applies to
- all elements
- Animation type
- byComputedValueType
Quick example
.reveal-section {
view-timeline-name: --reveal;
/* Starts the animation when the element is 20% into the scroll container */
view-timeline-inset: 20%;
}Values
autoview-timeline-inset 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.
Usage88%of people can use this12% 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 →