Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

timeline-trigger-active-range-end — active-range endpoint

Sets the ending boundary of the range outside which a timeline trigger becomes inactive. It does not set the animation’s own endpoint.

Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required

Syntax

timeline-trigger-active-range-end: [ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#;

timeline-trigger-active-range-end sets a trigger’s active-range endpoint. Entering the activation range activates the trigger; leaving the active range deactivates it. The active range always contains the activation range.

The initial value, auto, uses the activation-range endpoint. normal means the end of the entire timeline. Percentages refer to the specified named range or the entire timeline; for example, cover 100% means the end of cover. An omitted percentage after a range name means 100% here.

The property is neither inherited nor animatable. Commas separate values for multiple triggers. The example separates the two ranges but attaches no animation. This is a specification draft: support and behavior require local verification; declaration acceptance alone is insufficient.

Examples

.subject {
  timeline-trigger-name: --demo;
  timeline-trigger-source: view();
  timeline-trigger-activation-range: cover 40% cover 60%;
  timeline-trigger-active-range-start: cover 0%;
  timeline-trigger-active-range-end: cover 100%;
}

Result

Activation range: cover 40%–60%. Active range: cover 0%–100%. No visible animation is attached.

This example illustrates the difference between the activation range and the active range. It does not attach an animation to the trigger, so there is no visible effect. Verify property support and trigger behavior locally.

Sources