timeline-trigger-activation-range-start
Limited availability70% of usersExperimental
Sets the point on a timeline where a trigger's activation range begins. Once the timeline reaches it, the trigger can turn on and start its animation. Values work like animation-range-start, so entry 50% means the element is halfway into view. The default, normal, means the start of the timeline. It is a longhand of the timeline-trigger-activation-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
normal- Inherited
- No
- Applies to
- all elements
- Animation type
- notAnimatable
Quick example
@keyframes slide-in {
from { opacity: 0; translate: -3rem 0; }
}
.quote {
timeline-trigger-name: --quote;
timeline-trigger-source: view();
timeline-trigger-activation-range-start: entry 50%;
animation: slide-in 0.6s ease-out both;
animation-trigger: --quote play-forwards;
}Values
normal<length-percentage>covercontainentryexitentry-crossingexit-crossingtimeline-trigger-activation-range-start 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.
Usage70%of people can use this30% use a browser without it.
Browsers
146+
146+Mobile
146+Android