🏠 New in Low Baseline Support: :nth-child() of <selector>

May 9, 2023

caniuse · mdn · [spec]([‘https://drafts.csswg.org/selectors-4/#the-nth-child-pseudo’, ‘https://drafts.csswg.org/selectors-4/#the-nth-last-child-pseudo’])

The of syntax for the :nth-child() and :nth-last-child() CSS functional pseudo-classes match elements by the relative position of elements, counted from the first or last sibling matching a selector list.

Source features