<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2" -->

---
title: CSS timeline-scope: One Scroll, Multiple Carousels
description: The CSS timeline-scope property lets one scrolling carousel drive an animation on a separate element. You register a scroll timeline on the primary carousel...
canonical: https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CSS timeline-scope: One Scroll, Multiple Carousels | daily.dev
og:description: The CSS timeline-scope property lets one scrolling carousel drive an animation on a separate element. You register a scroll timeline on the primary carousel...
og:url: https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2
og:image: https://api.daily.dev/og/posts/fU6vSCQW2.png
og:image:alt: CSS timeline-scope: One Scroll, Multiple Carousels
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 timeline-scope: One Scroll, Multiple Carousels

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

## Summary

The CSS timeline-scope property lets one scrolling carousel drive an animation on a separate element. You register a scroll timeline on the primary carousel with scroll-timeline: --carousel-scroll x. The secondary carousel uses it through animation-timeline: --carousel-scroll. Setting timeline-scope: --carousel-scroll on their shared parent, such as body, makes the timeline available to both. The keyframes use translateX with sibling-count() to show one slide at a time. timeline-scope is not yet Baseline, so keep it to decorative effects.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://css-tricks.com/css-timeline-scope-multiple-carousels>

## Questions this post answers

### How do I make scrolling one CSS carousel animate a different element using scroll-driven animations?

Define a scroll timeline on the scrolling element with scroll-timeline: --carousel-scroll x, then reference it on the target with animation-timeline: --carousel-scroll. Because the two elements are siblings, set timeline-scope: --carousel-scroll on their common parent, such as body, so both can access the timeline. No animation duration is needed because progress follows scroll position.

_Developers experimenting with scroll-driven CSS effects follow new browser features on daily.dev._

### What does the CSS timeline-scope property do and when do I need it?

timeline-scope widens a named animation timeline's reach beyond the element that defines it. Set on a shared ancestor, it makes that timeline available to any child or descendant of that ancestor, so elements outside the scrolling element's own subtree can use it. You need it whenever the animated element is a sibling or cousin of the scroller.

_Staying current on emerging CSS properties is easier with daily.dev._

## Similar posts on daily.dev

- [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
- [Creating Scroll-Based Animations in Full view\(\)](https://daily.dev/posts/creating-scroll-based-animations-in-full-view--mo1gx2c3g) · CSS-Tricks · 4 upvotes · 0 comments
- [Scroll-Driven CSS in 2026: Building Carousels Without JavaScript](https://daily.dev/posts/scroll-driven-css-in-2026-building-carousels-without-javascript-o8z3jgfok) · SitePoint · 19 upvotes · 1 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2)

```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 timeline-scope: One Scroll, Multiple Carousels","url":"https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2"},"datePublished":"2026-11-30T14:53:34.018Z","dateModified":"2026-11-30T14:53:53.062Z","description":"The CSS timeline-scope property lets one scrolling carousel drive an animation on a separate element. You register a scroll timeline on the primary carousel...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3de77d11d33c12ad861f0b734301ef42?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3de77d11d33c12ad861f0b734301ef42?_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/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,css","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":"CSS timeline-scope: One Scroll, Multiple Carousels"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/css-timeline-scope-one-scroll-multiple-carousels-fu6vscqw2#faq","mainEntity":[{"@type":"Question","name":"How do I make scrolling one CSS carousel animate a different element using scroll-driven animations?","acceptedAnswer":{"@type":"Answer","text":"Define a scroll timeline on the scrolling element with scroll-timeline: --carousel-scroll x, then reference it on the target with animation-timeline: --carousel-scroll. Because the two elements are siblings, set timeline-scope: --carousel-scroll on their common parent, such as body, so both can access the timeline. No animation duration is needed because progress follows scroll position. Developers experimenting with scroll-driven CSS effects follow new browser features on daily.dev."}},{"@type":"Question","name":"What does the CSS timeline-scope property do and when do I need it?","acceptedAnswer":{"@type":"Answer","text":"timeline-scope widens a named animation timeline's reach beyond the element that defines it. Set on a shared ancestor, it makes that timeline available to any child or descendant of that ancestor, so elements outside the scrolling element's own subtree can use it. You need it whenever the animated element is a sibling or cousin of the scroller. Staying current on emerging CSS properties is easier with daily.dev."}}]}
```

