CSS
CSS Can Finally Count: One Line Staggers 50 Cards Without JavaScript
Chrome and Safari now ship sibling-index() and sibling-count(), two CSS functions that return an element's position and its sibling total as real numbers. One calc() line replaces the nth-child wall, the Sass loop, and the DOM-walking stagger script — with a clean @supports fallback for Firefox.