W3cubDocs

/Web APIs

ViewTimeline: startOffset property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The startOffset read-only property of the ViewTimeline interface returns a CSSNumericValue representing the starting (0% progress) scroll position of the timeline as an offset from the start of the overflowing section of content in the scroller.

Value

A CSSNumericValue.

Examples

See the main ScrollTimeline page for an example.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
startOffset 115 115 No 101 26 115 No 77 26 23.0 115 26

See also

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ViewTimeline/startOffset