timeline-trigger

The shorthand property for setting all timeline trigger properties at once. It defines the name, source, and ranges for triggering scroll-driven animations.

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 */
.target {
  /* Shorthand for setting a named trigger on the document scroller */
  timeline-trigger: --glow-start root;
}

/* Syntax */
timeline-trigger: none;
timeline-trigger: timeline-trigger-name;
timeline-trigger: timeline-trigger-source;
timeline-trigger: timeline-trigger-range;
timeline-trigger: timeline-trigger-exit-range;

/* Global values */
timeline-trigger: inherit;
timeline-trigger: initial;
timeline-trigger: revert;
timeline-trigger: revert-layer;
timeline-trigger: 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