CSS & HTML
Sequential Lists Without jQuery: CSS Counters and sibling-index()
Replace the old jQuery sequential list with CSS counters for numbering, sibling-index() for staggered animation, and IntersectionObserver for scroll triggers.
Replace the old jQuery sequential list with CSS counters for numbering, sibling-index() for staggered animation, and IntersectionObserver for scroll triggers.
Restyle the numbers in an ordered list with ::marker, CSS counters, counters() and @counter-style, without extra markup and without losing accessibility.