Baseline Widely Selectors

:nth-child() of <selector>

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.

Baseline Status
Widely Available
Since 2023-05-09
First Core Launch
Safari 9
2015-09-30
Core-3 Stability
2,778d (7.6y)
Last: Firefox (2023-05-09)
BCD Keys Mapped
2
Group: Selectors

Browser Support Timeline

Safari on iOS v9 (2015-09-16) Safari v9 (2015-09-30) Chrome v111 (2023-03-07) Chrome Android v111 (2023-03-07) Edge v111 (2023-03-13) Firefox v113 (2023-05-09) Firefox for Android v113 (2023-05-09)
Green dot marks the first browser release (2015-09-16); blue dots show subsequent browser launches (+2792d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Safari on iOS mobile 9 2015-09-16
Safari desktop 9 2015-09-30
Chrome desktop 111 2023-03-07
Chrome Android mobile 111 2023-03-07
Edge desktop 111 2023-03-13
Firefox desktop 113 2023-05-09
Firefox for Android mobile 113 2023-05-09

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.selectors.nth-child.of_syntax CSS 2,778d (7.6y)
css.selectors.nth-last-child.of_syntax CSS 2,778d (7.6y)