CSS · Properties — Scroll-driven Animations

view-timeline

The CSS view-timeline property. Initial value: view-timeline-name,view-timeline-axis. Not inherited.

Syntax
view-timeline: [ <'view-timeline-name'> [ <'view-timeline-axis'> || <'view-timeline-inset'> ]? ]#

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: view-timeline-name,view-timeline-axis.

More in this group

animation-range animation-range-end animation-range-start scroll-timeline scroll-timeline-axis scroll-timeline-name timeline-scope view-timeline-axis

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course