🏠 New in Low Baseline Support: :nth-child() (initial support)
July 29, 2015
caniuse · mdn · [spec]([‘https://drafts.csswg.org/selectors-3/#nth-child-pseudo’, ‘https://drafts.csswg.org/selectors-3/#nth-last-child-pseudo’])
The :nth-child()
and :nth-last-child()
CSS functional pseudo-classes match elements by the relative position of elements (first, second, third, fourth, and so on), counted from the first or last sibling.