timeline-trigger-source

An experimental property that defines which element's scroll progress should trigger a specific timeline-based animation.

It is documented as part of the CSS Animations specification. This is an experimental technology. The syntax and behavior are still subject to change.

/* Usage Example */
.animation-target {
  /* Sets the source for the animation trigger to the nearest scroller */
  timeline-trigger-source: auto;
}

/* Global values */
timeline-trigger-source: inherit;
timeline-trigger-source: initial;
timeline-trigger-source: revert;
timeline-trigger-source: revert-layer;
timeline-trigger-source: unset;
Limited availability Since 2020 Unknown global usage

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

146+
146+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC