---
id: "nth-child-of"
kind: "web-feature"
canonical: "https://timetostable.com/feature/nth-child-of"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# :nth-child() of <selector> (`nth-child-of`)

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.

- **Group**: Selectors
- **Baseline**: Widely Available
- **Newly Available Date**: 2023-05-09
- **Widely Available Date**: 2025-11-09
- **Specification**: https://drafts.csswg.org/selectors-4/#the-nth-child-pseudo
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari on iOS | 9 | 2015-09-16 |
| Safari | 9 | 2015-09-30 |
| Chrome | 111 | 2023-03-07 |
| Chrome Android | 111 | 2023-03-07 |
| Edge | 111 | 2023-03-13 |
| Firefox | 113 | 2023-05-09 |
| Firefox for Android | 113 | 2023-05-09 |

