<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/animation-trigger-nzzfiewhd" -->

---
title: animation-trigger | daily.dev
description: The experimental CSS animation-trigger property lets developers delay or control the start of a CSS animation using a named trigger, replacing JavaScript-based...
canonical: https://daily.dev/posts/animation-trigger-nzzfiewhd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: animation-trigger | daily.dev
og:description: The experimental CSS animation-trigger property lets developers delay or control the start of a CSS animation using a named trigger, replacing JavaScript-based...
og:url: https://daily.dev/posts/animation-trigger-nzzfiewhd
og:image: https://api.daily.dev/og/posts/nzzfiewHd.png
og:image:alt: animation-trigger
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# animation-trigger

**[CSS-Tricks](https://daily.dev/sources/css_tricks)** · [@saleh28](https://daily.dev/saleh28) · 6 min read · 9 upvotes · 1 comments

## Summary

The experimental CSS animation-trigger property lets developers delay or control the start of a CSS animation using a named trigger, replacing JavaScript-based approaches like the Intersection Observer API for scroll-triggered effects. It works alongside timeline-trigger to define activation ranges based on scroll or view timelines, with actions like play-forwards, play-backwards, pause, and reset. The property is distinct from scroll-driven animations, which continuously scrub with scroll position rather than firing a discrete trigger. Defined in the Animation Triggers spec, currently in Editor's Drafts, and supported only in Chrome 145+ at the time of writing.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://css-tricks.com/almanac/properties/a/animation-trigger>

## Questions this post answers

### What does the CSS animation-trigger property do?

It delays the start of a CSS animation until a specific named trigger occurs, controlling whether the animation plays forward, plays backward, pauses, resets, or replays. The trigger is defined separately with timeline-trigger or event-trigger properties, and animation-trigger listens for that named trigger using syntax like animation-trigger: --trigger play-forwards play-backwards. It replaces JavaScript-based approaches like the Intersection Observer API for scroll-linked animation starts.

_Developers wiring scroll effects without JavaScript can track new CSS animation capabilities like this via daily.dev._

### What is the difference between scroll-driven animations and scroll-triggered animations in CSS?

Scroll-driven animations tie animation progress continuously to scroll position, scrubbing forward or backward with no start or fire moment. Scroll-triggered animations, enabled by animation-trigger, are state-based: a binary trigger fires an action like play, pause, or reset when a condition such as entering a defined range is met, after which the animation runs independently of further scroll progress.

_Comparing these two scroll-animation models on daily.dev helps clarify which approach fits a given UI effect._

### Which browsers support the CSS animation-trigger property?

Only Chrome 145 and later support it, and the feature is experimental, defined in the Animation Triggers specification which is still in Editor's Drafts stage. Because the spec can still change before becoming an official Candidate Recommendation, developers should check current browser support before relying on it in production.

_Frontend developers evaluating experimental CSS features can follow browser support updates through daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@devmount** · 1 upvotes

> Looking forward to using this in Firefox one day!

## Similar posts on daily.dev

- [A First Look at Scroll-Triggered Animations](https://daily.dev/posts/a-first-look-at-scroll-triggered-animations-evfbfrvso) · CSS-Tricks · 26 upvotes · 1 comments
- [Scroll-Driven Animations • Josh W. Comeau](https://daily.dev/posts/scroll-driven-animations-josh-w-comeau-e7cur5pha) · Josh W Comeau · 432 upvotes · 36 comments
- [Scroll-driven CSS animations](https://daily.dev/posts/scroll-driven-css-animations-uw6plcluy) · Flavio Copes · 143 upvotes · 6 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#css](https://daily.dev/tags/css), [#google-chrome](https://daily.dev/tags/google-chrome)

[View this post on daily.dev](https://daily.dev/posts/animation-trigger-nzzfiewhd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"animation-trigger","url":"https://daily.dev/posts/animation-trigger-nzzfiewhd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/animation-trigger-nzzfiewhd"},"datePublished":"2026-08-26T15:42:08.146Z","dateModified":"2026-09-13T19:00:18.839Z","description":"The experimental CSS animation-trigger property lets developers delay or control the start of a CSS animation using a named trigger, replacing JavaScript-based...","image":"https://i0.wp.com/css-tricks.com/wp-content/uploads/2019/12/css-tricks-logo-gradient-outline.png","thumbnailUrl":"https://i0.wp.com/css-tricks.com/wp-content/uploads/2019/12/css-tricks-logo-gradient-outline.png","isAccessibleForFree":true,"articleSection":"CSS-Tricks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Saleh Mubashar","url":"https://daily.dev/saleh28","image":"https://lh3.googleusercontent.com/a/ACg8ocLDlNiy-LgfjGu6ElMEN_knQRZTpAW1eBgp0EMm0LP-sFc=s96-c","description":"Web Developer and Technical Writer.\n","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1070}},"commentCount":1,"discussionUrl":"https://daily.dev/posts/animation-trigger-nzzfiewhd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"webdev,css,google-chrome","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CSS-Tricks","item":"https://daily.dev/sources/css_tricks"},{"@type":"ListItem","position":3,"name":"animation-trigger"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/animation-trigger-nzzfiewhd","comment":[{"@type":"Comment","text":"Looking forward to using this in Firefox one day!","datePublished":"2026-08-27T06:58:23.009Z","url":"https://daily.dev/posts/nzzfiewHd#c-h4zKakp8Q","author":{"@type":"Person","name":"Andreas","url":"https://daily.dev/devmount","image":"https://media.daily.dev/image/upload/s--0yHQgkD3--/f_auto/v1730121566/avatars/avatar_wkPuMtV83z5WseTrVc5QU"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/animation-trigger-nzzfiewhd#faq","mainEntity":[{"@type":"Question","name":"What does the CSS animation-trigger property do?","acceptedAnswer":{"@type":"Answer","text":"It delays the start of a CSS animation until a specific named trigger occurs, controlling whether the animation plays forward, plays backward, pauses, resets, or replays. The trigger is defined separately with timeline-trigger or event-trigger properties, and animation-trigger listens for that named trigger using syntax like animation-trigger: --trigger play-forwards play-backwards. It replaces JavaScript-based approaches like the Intersection Observer API for scroll-linked animation starts. Developers wiring scroll effects without JavaScript can track new CSS animation capabilities like this via daily.dev."}},{"@type":"Question","name":"What is the difference between scroll-driven animations and scroll-triggered animations in CSS?","acceptedAnswer":{"@type":"Answer","text":"Scroll-driven animations tie animation progress continuously to scroll position, scrubbing forward or backward with no start or fire moment. Scroll-triggered animations, enabled by animation-trigger, are state-based: a binary trigger fires an action like play, pause, or reset when a condition such as entering a defined range is met, after which the animation runs independently of further scroll progress. Comparing these two scroll-animation models on daily.dev helps clarify which approach fits a given UI effect."}},{"@type":"Question","name":"Which browsers support the CSS animation-trigger property?","acceptedAnswer":{"@type":"Answer","text":"Only Chrome 145 and later support it, and the feature is experimental, defined in the Animation Triggers specification which is still in Editor's Drafts stage. Because the spec can still change before becoming an official Candidate Recommendation, developers should check current browser support before relying on it in production. Frontend developers evaluating experimental CSS features can follow browser support updates through daily.dev."}}]}
```

