Baseline Widely CSS
css.selectors.first-child
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
CSS
Standard track
First Core Launch
Safari 3.1
2008-03-18
Core-3 Stability
678d (1.9y)
Last: Chrome (2010-01-25)
Baseline Feature
Widely
:nth-child()
Browser Support Timeline
Notes (2)
IE: Internet Explorer 7 doesn't update:first-child styles when elements are added dynamically.IE: In Internet Explorer 8, if an element is inserted dynamically by clicking on a link, then the :first-child style isn't applied until the link loses focus.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 4 | 2010-01-25 | Supported |
| Firefox | desktop | 3 | 2008-06-17 | Supported |
| Safari | desktop | 3.1 | 2008-03-18 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 18 | 2012-06-27 | Supported |
| Firefox for Android | mobile | 4 | 2011-03-29 | Supported |
| Safari on iOS | mobile | 4 | 2010-06-21 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 4 | 2010-06-21 | Supported |
| Samsung Browser | mobile | 1.0 | 2013-04-27 | Supported |
| Opera | desktop | 9.5 | 2008-06-12 | Supported |
| Opera Android | mobile | 10.1 | 2010-11-09 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | 7 | 2006-10-18 | Supported |