<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8" -->

---
title: Staggering Scroll-Driven Animations with...
description: A single line of CSS can replace a math-heavy custom-function formula for staggering scroll-driven animations. Ashutosh Biswas's rework of a Frontend Masters...
canonical: https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Staggering Scroll-Driven Animations with animation-range-start | daily.dev
og:description: A single line of CSS can replace a math-heavy custom-function formula for staggering scroll-driven animations. Ashutosh Biswas's rework of a Frontend Masters...
og:url: https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8
og:image: https://api.daily.dev/og/posts/RlsSIdWW8.png
og:image:alt: Staggering Scroll-Driven Animations with animation-range-start
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.

# Staggering Scroll-Driven Animations with animation-range-start

**[CSS-Tricks](https://daily.dev/sources/css_tricks)** · 8 min read · 1 upvotes · 0 comments

## Summary

A single line of CSS can replace a math-heavy custom-function formula for staggering scroll-driven animations. Ashutosh Biswas's rework of a Frontend Masters donation-tally demo used a complex custom CSS function formula, and Lee Meyer swaps it for 'animation-range-start: contain calc(10% + 2.5% * sibling-index());'. Since animation-delay doesn't work on scroll-driven animations, animation-range-start delays each character's entrance by scroll progress instead of time. The 2.5% increment staggers eight characters so the last one animates at 30% of the containment range. Merging staggered animations into one timeline means easing applies to the whole sequence, not each element individually.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://css-tricks.com/staggering-scroll-driven-animations-with-animation-range-start>

## Questions this post answers

### How do I stagger scroll-driven CSS animations without writing a complex custom function formula?

Use the animation-range-start property with the sibling-index() function in a calc expression, such as 'animation-range-start: contain calc(10% + 2.5% * sibling-index());'. This delays each sibling element's scroll-driven animation by an increasing percentage of the containment range, staggering their entrances as the user scrolls, without needing custom CSS functions or complex math.

_Compare CSS approaches to staggered scroll animations on daily.dev before picking one for production._

### Does animation-delay work with CSS scroll-driven animations?

No, animation-delay has no effect on scroll-driven animations because it is only meaningful with the default time-based document timeline. Scroll-driven animations instead need animation-range-start to delay the animation relative to scroll progress rather than time, since scroll timelines deliberately exclude time from their calculations.

_Developers building scroll-driven effects can track CSS timeline quirks like this on daily.dev._

### Can I apply custom easing functions like cubic-bezier() to CSS scroll-driven animations?

Yes, animation-timing-function works the same way for scroll-driven animations as it does for regular time-based animations, including cubic-bezier() and steps(). However, if multiple staggered animations are merged into a single master timeline, the easing applies to the whole timeline rather than to each individual element.

_daily.dev helps developers keep up with these scroll-timeline easing gotchas while building animations._

## Similar posts on daily.dev

- [How to create awesome staggered animations in CSS](https://daily.dev/posts/how-to-create-awesome-staggered-animations-in-css-k09m57ftt) · LogRocket · 52 upvotes · 1 comments
- [Scrubbable Staggered Animation with CSS @function – Frontend Masters Blog](https://daily.dev/posts/scrubbable-staggered-animation-with-css-function-frontend-masters-blog-1fvbhiwqv) · Frontend Masters · 2 upvotes · 0 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
- [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

---

Tags: [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8)

```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":"Staggering Scroll-Driven Animations with animation-range-start","url":"https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8"},"datePublished":"2026-11-16T16:47:39.116Z","dateModified":"2026-11-16T17:00:55.807Z","description":"A single line of CSS can replace a math-heavy custom-function formula for staggering scroll-driven animations. Ashutosh Biswas's rework of a Frontend Masters...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b26efc10bdfd5f55062910978de1bd71?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b26efc10bdfd5f55062910978de1bd71?_a=AQAEuop","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":"Organization","name":"CSS-Tricks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks","url":"https://daily.dev/sources/css_tricks"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css","timeRequired":"PT8M"}
{"@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":"Staggering Scroll-Driven Animations with animation-range-start"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/staggering-scroll-driven-animations-with-animation-range-start-rlssidww8#faq","mainEntity":[{"@type":"Question","name":"How do I stagger scroll-driven CSS animations without writing a complex custom function formula?","acceptedAnswer":{"@type":"Answer","text":"Use the animation-range-start property with the sibling-index() function in a calc expression, such as 'animation-range-start: contain calc(10% + 2.5% * sibling-index());'. This delays each sibling element's scroll-driven animation by an increasing percentage of the containment range, staggering their entrances as the user scrolls, without needing custom CSS functions or complex math. Compare CSS approaches to staggered scroll animations on daily.dev before picking one for production."}},{"@type":"Question","name":"Does animation-delay work with CSS scroll-driven animations?","acceptedAnswer":{"@type":"Answer","text":"No, animation-delay has no effect on scroll-driven animations because it is only meaningful with the default time-based document timeline. Scroll-driven animations instead need animation-range-start to delay the animation relative to scroll progress rather than time, since scroll timelines deliberately exclude time from their calculations. Developers building scroll-driven effects can track CSS timeline quirks like this on daily.dev."}},{"@type":"Question","name":"Can I apply custom easing functions like cubic-bezier() to CSS scroll-driven animations?","acceptedAnswer":{"@type":"Answer","text":"Yes, animation-timing-function works the same way for scroll-driven animations as it does for regular time-based animations, including cubic-bezier() and steps(). However, if multiple staggered animations are merged into a single master timeline, the easing applies to the whole timeline rather than to each individual element. daily.dev helps developers keep up with these scroll-timeline easing gotchas while building animations."}}]}
```

