Supercharge QA with AI for Faster & Smarter Software Testing

The new css-nth-child-of and css-nth-last-child selectors allow you to efficiently match the first or last child of any element with any given set of criteria.
Last updated on : 2026-02-09
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on IE is not supported on any IE versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Edge is fully supported on 111-144, and not supported on 12-110 Edge versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Firefox is fully supported on 114-150, and not supported on 2-113 Firefox versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Chrome is fully supported on 113-147, and not supported on 4-112 Chrome versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Safari is fully supported on 9.1-26.3, and not supported on 3.2-8 Safari versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Opera is fully supported on 98-125, and not supported on 9.5-97 Opera versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Safari on iOS is fully supported on 9.3-26.3, and not supported on 3.2-8 Safari on iOS versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Android Browser is fully supported on 111-144, and not supported on 2.3-109 Android Browser versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Opera Mobile is fully supported on 80-80, and not supported on 10-73 Opera Mobile versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Chrome for Android is fully supported on 111-144, and not supported on 97-110 Chrome for Android versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Firefox for Android is fully supported on 113-147, and not supported on 95-110 Firefox for Android versions.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Samsung Internet is fully supported on 23-29, and not supported on 4-22 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:selector list argument of :nth-child and :nth-last-child CSS pseudo-classes shows a browser compatibility score of 75. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for selector list argument of :nth-child and :nth-last-child CSS pseudo-classes & more
Test your website for selector list argument of :nth-child and :nth-last-child CSS pseudo-classes and other web technologies. Get 100 FREE automation test minutes!
Test NowDid you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance