timeline-trigger-active-range-end
Limited availability68% of usersExperimental
Sets the point where a trigger's active range ends. If the timeline moves past it, for example when an element scrolls off the top, the trigger turns off. Setting it later than the activation end keeps an effect on for longer. The default, auto, copies the end of the activation range. It is a longhand of the timeline-trigger-active-range shorthand. It works in Chrome and Edge 146 and later so far.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- all elements
- Animation type
- notAnimatable
Quick example
@keyframes grow {
from { scale: 0.9; }
}
.banner {
timeline-trigger-name: --banner;
timeline-trigger-source: view();
timeline-trigger-activation-range: entry 50% exit 0%;
timeline-trigger-active-range-end: exit 100%;
animation: grow 0.5s ease-out both;
animation-trigger: --banner play-forwards play-backwards;
}Values
autonormal<length-percentage>covercontainentryexitentry-crossingexit-crossingtimeline-trigger-active-range-end browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage68%of people can use this32% use a browser without it.
Browsers
146+
146+Mobile
146+Android