<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs" -->

---
title: CSS Animation Triggers: Playing animations on scroll...
description: A deep dive into CSS scroll-triggered animations, a new experimental feature (currently in Chrome Canary behind a flag, expected in Chrome 146) that lets...
canonical: https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CSS Animation Triggers: Playing animations on scroll without scrubbing. It's a match! | daily.dev
og:description: A deep dive into CSS scroll-triggered animations, a new experimental feature (currently in Chrome Canary behind a flag, expected in Chrome 146) that lets...
og:url: https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs
og:image: https://api.daily.dev/og/posts/gFvYsIeGS.png
og:image:alt: CSS Animation Triggers: Playing animations on scroll without scrubbing. It's a match!
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.

# CSS Animation Triggers: Playing animations on scroll without scrubbing. It's a match!

**[utilitybend](https://daily.dev/sources/utilitybend)** · 18 min read · 0 upvotes · 0 comments

## Summary

A deep dive into CSS scroll-triggered animations, a new experimental feature (currently in Chrome Canary behind a flag, expected in Chrome 146) that lets scroll position determine when an animation starts rather than scrubbing it frame by frame like scroll-driven animations do. The piece covers the timeline-trigger and animation-trigger properties, enter/exit ranges (cover, contain, entry, exit), the full table of trigger actions (play-forwards, play-once, reset, replay, etc.), and how combining triggers with scroll-driven animations enables scrollytelling. It walks through a large Valentine's Day poem demo using fixed background layers, scroll-driven cross-fades, and triggered text reveals, plus DRY techniques using the typed attr() function to avoid duplicating trigger rules, reusable keyframes via CSS variables, centralizing animation-range values in a custom property layer, and debugging tips for visualizing trigger zones.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://utilitybend.com/blog/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-its-a-match>

## Questions this post answers

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

Scroll-driven animations tie animation progress directly to scroll position, scrubbing frame by frame (e.g., scrolling further increases opacity from 30% to 60%), using animation-timeline: view() with animation-range. Scroll-triggered animations instead use scroll position only to decide when an animation starts; once triggered via the animation-trigger property, the animation plays at its normal duration and easing like any standard CSS animation. Rule of thumb: use scroll-driven for continuous effects, triggers for discrete transitions.

_daily.dev surfaces practical CSS breakdowns like this for developers choosing between scroll-driven and trigger-based animation approaches._

### How do I set up a basic CSS scroll-triggered animation with timeline-trigger and animation-trigger?

Define a timeline-trigger on an invisible trigger element, e.g. timeline-trigger: --my-trigger view() contain / cover, where contain/cover set the enter and exit ranges. Then connect an animated element with animation-trigger: --my-trigger play-forwards play-backwards, so the animation plays forward when the trigger becomes fully visible and reverses when it starts leaving, with no JavaScript or IntersectionObserver required.

_Developers wiring up scrollytelling effects can track this kind of CSS trigger syntax reference on daily.dev._

### Which browsers support CSS animation-trigger and when will it ship?

CSS animation-trigger and timeline-trigger are experimental and currently only work in Chrome Canary with the 'Experimental Web Platform features' flag enabled. The feature is expected to arrive in Chrome 146, which could land by the end of February. For production use, a fallback via @supports not (animation-trigger: none) is recommended until broader support lands.

_Frontend teams planning progressive enhancement can watch browser rollout status for features like this via daily.dev._

## 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
- [animation-trigger](https://daily.dev/posts/animation-trigger-nzzfiewhd) · CSS-Tricks · 9 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

---

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

[View this post on daily.dev](https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs)

```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":"CSS Animation Triggers: Playing animations on scroll without scrubbing. It's a match!","url":"https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs"},"datePublished":"2026-09-20T07:43:19.670Z","dateModified":"2026-09-20T07:43:49.480Z","description":"A deep dive into CSS scroll-triggered animations, a new experimental feature (currently in Chrome Canary behind a flag, expected in Chrome 146) that lets...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ca4e06b4f682f7e127d070ac5001cade?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ca4e06b4f682f7e127d070ac5001cade?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"utilitybend","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":"Organization","name":"utilitybend","logo":"https://media.daily.dev/image/upload/s--hONVFSz4--/f_auto,q_auto/v1789890196/logos/utilitybend?_a=BAMAMicg0","url":"https://daily.dev/sources/utilitybend"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,google-chrome","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"utilitybend","item":"https://daily.dev/sources/utilitybend"},{"@type":"ListItem","position":3,"name":"CSS Animation Triggers: Playing animations on scroll without scrubbing. It's a match!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/css-animation-triggers-playing-animations-on-scroll-without-scrubbing-it-s-a-match--gfvysiegs#faq","mainEntity":[{"@type":"Question","name":"What is the difference between CSS scroll-driven animations and CSS scroll-triggered animations?","acceptedAnswer":{"@type":"Answer","text":"Scroll-driven animations tie animation progress directly to scroll position, scrubbing frame by frame (e.g., scrolling further increases opacity from 30% to 60%), using animation-timeline: view() with animation-range. Scroll-triggered animations instead use scroll position only to decide when an animation starts; once triggered via the animation-trigger property, the animation plays at its normal duration and easing like any standard CSS animation. Rule of thumb: use scroll-driven for continuous effects, triggers for discrete transitions. daily.dev surfaces practical CSS breakdowns like this for developers choosing between scroll-driven and trigger-based animation approaches."}},{"@type":"Question","name":"How do I set up a basic CSS scroll-triggered animation with timeline-trigger and animation-trigger?","acceptedAnswer":{"@type":"Answer","text":"Define a timeline-trigger on an invisible trigger element, e.g. timeline-trigger: --my-trigger view() contain / cover, where contain/cover set the enter and exit ranges. Then connect an animated element with animation-trigger: --my-trigger play-forwards play-backwards, so the animation plays forward when the trigger becomes fully visible and reverses when it starts leaving, with no JavaScript or IntersectionObserver required. Developers wiring up scrollytelling effects can track this kind of CSS trigger syntax reference on daily.dev."}},{"@type":"Question","name":"Which browsers support CSS animation-trigger and when will it ship?","acceptedAnswer":{"@type":"Answer","text":"CSS animation-trigger and timeline-trigger are experimental and currently only work in Chrome Canary with the 'Experimental Web Platform features' flag enabled. The feature is expected to arrive in Chrome 146, which could land by the end of February. For production use, a fallback via @supports not (animation-trigger: none) is recommended until broader support lands. Frontend teams planning progressive enhancement can watch browser rollout status for features like this via daily.dev."}}]}
```

