animation-trigger | CSS-Tricks
The CSS animation-trigger property delays the start of a CSS animation until a specific trigger occurs. More specifically, it listens for a named trigger and controls how the animation plays or pauses in response. .element { animation: fade-in 0.35s ease-in-out both; animation-trigger: –trigger play-forwards play-backwards; } CodePen Embed Fallback This behavior has traditionally been JavaScript territory, typically…




