#CSS sibling-index() and sibling-count() available Chrome Canary with experiments enabled! easily stagger effects like: `transition-delay: calc(sibling-index() * .1s);` more info and a Codepen to fork ⤷ nerdy.dev/sibling-index
28 reposts241 likes
#CSS sibling-index() and sibling-count() available Chrome Canary with experiments enabled! easily stagger effects like: `transition-delay: calc(sibling-index() * .1s);` more info and a Codepen to fork ⤷ nerdy.dev/sibling-index
28 reposts241 likes
I think I found a bug. Chrome breaks if you use either one inside tan(). codepen.io/0xfabio/pen/... Check comment on css line 50.
I feel like I'll use these two a *lot* in coming experiments. So convenient! codepen.io/nocksock/pen...
With this we can finally do boustrophedon (snake layout) without any JS! codepen.io/Link2Twenty/...