CSS & layoutRebuilding :nth-child() out of sibling-index(), if() and mod()
Temani Afif rebuilds the :nth-child() patterns on CSS-Tricks with sibling-index(), if() style queries and mod(), so the step and offset can come from custom properties. The features are still drafts with limited browser support.