CSS · Properties — Scroll-driven Animations

scroll-timeline

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

Syntax
scroll-timeline: [ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#

Example

Try it

Notes

Media: visual. Applies to: scrollContainers. Computed value: scroll-timeline-name,scroll-timeline-axis.

More in this group

animation-range animation-range-end animation-range-start scroll-timeline-axis scroll-timeline-name timeline-scope view-timeline 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