🏠 New in High Baseline Support: :nth-child() (initial support)
January 29, 2018
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.