GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

09Auto numbering via sibling-index()

Each step sets counter-set: n calc(sibling-index()) so its ::before content: counter(n) numbers itself automatically, and animation-delay is computed from sibling-index() too — no nth-child rules at all.

Best forDrag-reorderable checklists, step lists whose items are added or removed often

sibling-index()counter-setcalc()
Auto numbering via sibling-index()
Open in a new tab

09 Auto numbering via sibling-index() — Measured area 4.478% · moving frames 10/23Original by GODRICH · SCSS and React ship in the zip · 9 CSS Timeline Animation Ideas, Copy-Paste

The post this demo lives in

9 CSS Timeline Animation Ideas, Copy-Paste - preview of all 9 demos9 CSS Timeline Animation Ideas, Copy-PasteA CSS timeline animation is a line of dots, bars, or cards that draws or fills itself to show steps in order — a company See all demos in this post

If you like this effect - similar demos