#CSS sibling-index() and sibling-count()
available Chrome Canary with experiments enabled!
`transition-delay: calc(sibling-index() * .1s);`
or
```css
--hue: calc(sibling-index() * 50);
color: oklch(70% 70% var(--hue));
```
more info and a Codepen to fork
⤷
#CSS feature faceoff:
scroll triggered stuck nav (left)
vs
scroll driven animation nav (right)
which do you prefer?
try it
https://codepen.io/argyleink/pen/gbYGgrB
(use Canary for the scroll-state() support)