CKTIS / CSS
timeline-trigger-activation-range-start
Sets the start of a timeline trigger’s activation range. This is a threshold for triggering an action, not a setting for animation progress. The feature comes from a working draft and needs testing in the target browser.
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-start: [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#;timeline-trigger-activation-range-start sets the activation range’s start; timeline-trigger-activation-range-end sets its end. The activation range controls activation, whereas the active range controls deactivation. This declaration alone neither creates an animation nor connects it to a trigger.
The initial value is normal. The property applies to all elements, is not inherited, and is not animatable. The grammar’s # means a comma-separated list coordinated with timeline-trigger-name. auto is not allowed here.
Values have the meaning of animation-range-start: normal means the timeline’s beginning, a standalone percentage refers to the whole timeline, and, for example, entry 50% means halfway through the named entry range. A range name without an offset means 0% of that range. This is neither a delay in seconds nor a percentage of animation duration.
The example uses a 25%–75% scroll-timeline range. With 400px of scrollable travel, its start is at 100px. Once triggered, the animation progresses with time, not scroll position. The specification is a working draft; do not infer support from a browser version alone. The example requires local verification.
Examples
<!doctype html>
<meta charset="utf-8">
<style>
.scroller { height: 200px; overflow-y: scroll; }
.track { height: 600px; }
.box {
width: 80px;
height: 80px;
background: navy;
animation: reveal 1s linear both;
timeline-trigger-name: --reveal;
timeline-trigger-source: scroll(nearest block);
timeline-trigger-activation-range-start: 25%;
timeline-trigger-activation-range-end: 75%;
animation-trigger: --reveal play;
}
@keyframes reveal {
from { transform: translateX(0); }
to { transform: translateX(120px); }
}
</style>
<div class="scroller">
<div class="track"><div class="box"></div></div>
</div>Result
With full feature support, scrolling downward from the top past 100px enters the activation range and starts a one-second movement from translateX(0) to translateX(120px).
Run the example locally in the target browser. Scroll down from the top and check whether the animation starts as you pass the `100px` threshold.