Art Direction Daily

Scroll-driven animation / stagger

One line of CSS now staggers a whole scroll reveal

Lee Meyer moves the stagger out of per-item variables and into sibling-index(), and both halves of his one-liner are now Baseline. Each child finds its own start point on the scroll.

IssueNo. 190
Date
Sunday 22 November 2026
Read
About 5 minutes
Shelf
Motion reference
Cut-paper collage on graphite: eight strips of rose, chalk and grey-green paper stacked like a staircase, each starting a little further right than the one above, all ending at the same edge, over a thin baseline with a small rose start marker.
Range chartEight strips, one rule. Each starts a step later on the same timeline and all of them finish together.

The stagger moves from the delay to the range

In Staggering Scroll-Driven Animations with animation-range-start, Lee Meyer rebuilds a staggered letter reveal that an earlier post worked out with a custom CSS function. His version needs one declaration on the letters.

animation-range-start: contain calc(10% + 2.5% * sibling-index());

The reason is a quiet rule of scroll timelines: animation-delay has no effect on them, so a stagger has to shift where each element's range begins. The new function returns each element's position among its siblings, counting from 1, so with eight letters the first starts at 12.5% of the contain range and the last at 30%.

Meyer also flags the tradeoff. Once the starts are offset, the timing function applies across the merged timeline, so the easing reads as one gesture instead of eight.

The order was already in the markup. The range just reads it.

Source
CSS-Tricks, Lee Meyer, 16 November 2026
sibling-index()
Baseline 2026 on MDN, newly available since August
animation-range-start
Baseline 2026 on MDN, newly available since October
Older browsers
A scroll-timeline polyfill, which the author warns can get janky
Live exampleEight spans, one ruleScroll slowly

PropertyValue hereWhat it does
animation-timelineview()Ties progress to the letter's position in the scrollport.
animation-range-startcontain calc(10% + 2.5% * sibling-index())Starts each letter 2.5% later than the one before it.
animation-range-endcontain 55%Lands every letter at the same point.
animation-delaynoneIgnored by scroll timelines, which is why the range does the work.

Today's art direction

The Range Reference

A motion reference page from a design-system docs site, on a graphite lattice with cut-paper charts.

A docs site is the surface where a team writes down how motion behaves, so the page is one: a sticky guide sidebar, a reference table, a support matrix and a live example that runs the technique it documents. Each section opens with an inspector header, the strip a browser's devtools would show, reading that section's own sibling index. The art is cut paper, because a stagger is easiest to see as strips laid one step apart.

  • guide sidebar
  • ticket stub
  • inspector header
  • range chart
  • reference table
  • live example
  • support matrix
  • docs pager
  • Graphite ground#1C1F25
  • Slate panel#262B33
  • Chalk#ECE9E2
  • Rose magenta#D9619A
  • Lichen#9DB0A6

Shipping it without stranding anyone

FeatureStatus on MDNWatch for
sibling-index()BaselineNewly available, August 2026Counts from 1, among element siblings only
animation-range-startBaselineNewly available, October 2026Declare it after the animation shorthand

MDN's reference adds the detail that breaks most first attempts: declare the range after the animation shorthand, because the shorthand resets it to normal.

NoteNewly Baseline means the latest versions of the major browsers. Readers on older ones still need a resting state that is the finished layout, so gate the rule with a feature query and drop it entirely under reduced motion.

In the article's comments Meyer agrees a production version should check both, and points older browsers to the scroll-timeline polyfill, with the caveat that timeline scope behaves differently there.

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal > * {
      animation: rise linear both;
      animation-timeline: view();
      animation-range-start: contain calc(10% + 2.5% * sibling-index());
      animation-range-end: contain 55%;
    }
  }
}

Lovable numbers its review pins

Lovable's changelog entry for 15 November gives every comment thread in the preview a number, such as #3, so feedback can be referred to by name. A pin can be dragged onto a different element, an open thread can be dragged aside to see what sits under it, and a comments sidebar lists resolved threads under Resolved, all described in its project comments docs.

Guests on a shared preview link can read, reply and search threads. On 18 November comments reached phones, in a mobile browser or the Lovable app, and a guest replying to a thread can now mention anyone already in it.

Cut-paper collage of a web page layout in chalk, grey-green and graphite paper, with three small rose paper pins fixed to different blocks and a folded speech tab beside one of them.
Pinned to the element, not the screenshot. Cut-paper collage.

Figma shows Specs doing the planning

Figma's Workflow Lab post on 20 November walks through Specs, the canvas container for requirements and plans whose open beta we covered in October. The new part is the sequence it demonstrates.

  1. A saved skill turns the designs into an implementation plan inside the spec.

  2. The Figma agent replies to comments on the plan with suggested edits.

  3. A spec link hands Codex the linked designs, code layers and components over MCP.

Borrow this pattern: stagger by position

Design move

Let an item's place in the list set its timing, instead of writing an index variable onto every card. One rule covers a list of any length, a CMS can add or drop items without anyone touching inline styles, and the stagger lives in a single line a teammate can find.

  1. Keep the step small enough that the last item still has room to finish: 10% plus 2.5% times eight is 30%.
  2. Put the range after the animation shorthand, or the shorthand resets it.
  3. Gate it with a feature query and reduced motion; the fallback is the finished layout.
  4. Animate from faint, not invisible, so no frame hides content from a reader.
.reveal > * {
  animation: rise linear both;
  animation-timeline: view();
  animation-range-start:
    contain calc(10% + 2.5% * sibling-index());
  animation-range-end: contain 55%;
}
@keyframes rise {
  from { opacity: .18; translate: 0 .45em; }
}

Prompt Lab

Archetype
Motion reference docs page
Palette
Graphite, chalk, rose magenta, lichen
Type
Familjen Grotesk over Source Serif 4
Works in
v0, Lovable, Beaver Builder AI or Claude
range-reference.prompt
Build a single documentation page from a design-system docs site that teaches one motion pattern: a staggered scroll reveal. It should look like a page a product team would publish in its own design system, not a blog post.

Layout: a slim top bar with the site name and three links. Below it a two-column docs frame: a 232px sticky guide sidebar on the left (grouped headings in small uppercase mono, then section links with a two-digit number right-aligned, the current section lit by a slightly lighter panel) and a main column on the right. The main column opens with a ticket stub masthead: a chalk-coloured ticket with half-circle notches cut into both sides and a dashed perforation between a large issue number and three labelled rows (date, read time, shelf). Then a mono kicker, a 15ch heavy grotesque headline, a two-sentence deck, a rose button and a text link, and a wide framed figure with a labelled caption row.

Section markers: every section opens with an inspector header, a small dark strip of two bordered cells in monospace that reads like browser devtools (a step count such as 3 of 8, then that step's computed range start in rose), followed by the h2. No numbered circles, no section symbols.

Components: a reading column about 680px wide beside a ruled facts list; a live example panel on chalk with a header row, a large word whose letters really stagger in on scroll, and a property reference table under it; a support table with solid Baseline labels; a note box set apart by a faint rose-tinted background and a solid Note label, never a coloured left border; a numbered step list with mono numerals; a two-column design move card of prose and numbered rules beside a dark code panel; a parameters strip of four labelled cells; a two-column close of field note beside sources under a 2px rose rule; a docs pager of previous and next tiles.

Motion: implement the live example with animation-timeline: view() and animation-range-start: contain calc(10% + 2.5% * sibling-index()), declared after the animation shorthand, inside @supports and a prefers-reduced-motion: no-preference query. Animate from opacity .18 and a small upward offset, never from fully hidden.

Palette: graphite ground #1C1F25 with a faint diagonal lattice of 1px chalk lines at about 4.5 percent on a 30px pitch; slate panels #262B33; chalk text #ECE9E2; rose magenta #D9619A for buttons, rules and computed values only; lichen grey-green #9DB0A6 for small labels. No gradients, no glow, no neon, no purple-blue.

Type: Familjen Grotesk 700 for headings and buttons, Source Serif 4 for body and italics, Spline Sans Mono for labels, code and the inspector strips.

Images: cut-paper collage photographed flat on graphite card: torn paper strips in rose, chalk and grey-green laid one step apart like a timing chart, no readable text, no logos.

Guardrails: body text at least 18px with line-height 1.65 or more; reading columns about 680px; every small label meets WCAG AA on its real background; radius 12 to 14px on panels, 6 to 8px on buttons and labels, no pill shapes, no accent stripe borders, no soft shadows. Hover and focus states on every link and button at about 150ms with a reduced-motion guard. On mobile the sidebar becomes a wrapping row of section links above the content, two-column blocks stack, and both tables turn into labelled stacked rows.

Field note

A stagger used to mean numbering every item by hand. The browser counts now, and the only number left to choose is the step.

Sources