timeline-trigger-name

An experimental property for scroll-driven animations. It allows you to name a specific point or 'trigger' in a timeline that an animation should react to.

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 */
.scroller {
  /* Sets a name for a specific trigger point on the timeline */
  timeline-trigger-name: --slide-in-point;
}

/* Syntax */
timeline-trigger-name: none;

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