web-features explorer

:nth-child() (initial support)

Widely available since 2018-01-29 (baseline high)

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.

Compatibility

BCD data