/
index.md
36 lines (24 loc) · 1010 Bytes
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: "ViewTimeline: startOffset property"
short-title: startOffset
slug: Web/API/ViewTimeline/startOffset
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ViewTimeline.startOffset
---
{{APIRef("Web Animations")}}{{SeeCompatTable}}
The **`startOffset`** read-only property of the {{domxref("ViewTimeline")}} interface returns a {{domxref("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 {{domxref("CSSNumericValue")}}.
## Examples
See the main {{domxref("ScrollTimeline")}} page for an example.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- [Web Animations API](/en-US/docs/Web/API/Web_Animations_API)
- [CSS scroll-driven animations](/en-US/docs/Web/CSS/CSS_scroll-driven_animations)
- {{domxref("ViewTimeline")}}
- {{domxref("AnimationTimeline")}}, {{domxref("ScrollTimeline")}}