trigger-scope

Experimental

An experimental property for scroll-driven animations. It defines how broadly a named timeline trigger is visible to other elements, allowing animations to be triggered by remote ancestors or descendants.

Quick example

.shared-scroller {
  /* Makes all triggers within this container available globally */
  trigger-scope: all;
}

Quick facts

Initial value
none
Inherited
No
Applies to
all elements
Animation type
notAnimatable

Values

noneall

trigger-scope Browser Support

Limited availability Unknown global usage

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

Not ready for production without a fallback.

146+
146+
ESC