🌊 Meet sibling-index() and sibling-count(). Staggered cascade effect in one lin...
Smashing Magazine @smashingmag@mastodon.social
🌊 Meet sibling-index() and sibling-count(). Staggered cascade effect in one line of CSS without :nth-child() rules or JS workarounds. Works for 5 items or 5,000: https://www.smashingmagazine.com/2026/05/mathematical-layouts-sibling-index-sibling-count/