CKTIS / CSS
timeline-trigger-activation-range-end — activation range end
The timeline-trigger-activation-range-end property sets the ending boundary of the range whose entry can activate a timeline trigger. It is not a separate setting for when an animation finishes.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
timeline-trigger-activation-range-end: [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#;timeline-trigger-activation-range-end sets the activation range’s end; timeline-trigger-activation-range-start sets its start. Entering the range activates the trigger. Deactivation is controlled by a separate active range, specified through the timeline-trigger-active-range-* properties.
Values have the same meaning as in animation-range-end. A percentage refers to the specified named range, or to the entire timeline when no range name is supplied. In the example, cover 75% means the point at 75% of the cover range, not 75% of the animation’s duration. The # in the grammar denotes a comma-separated list of values.
The initial value is normal. The property is not inherited and is not animatable. Setting the boundary alone does not start an animation: the animation must also be connected to the trigger.
This is a draft specification feature. The example only illustrates range configuration and has not been executed. Before deployment, check support and behavior in the target browser; syntax acceptance does not confirm trigger functionality.
Examples
.subject {
timeline-trigger-name: --reveal;
timeline-trigger-source: view();
timeline-trigger-activation-range-start: cover 25%;
timeline-trigger-activation-range-end: cover 75%;
}
This example shows how to set the activation range boundaries. It has not been run and does not confirm that the trigger works in a browser.