Power Your Software Testing with AI and Cloud

Supercharge QA with AI for Faster & Smarter Software Testing

Next-Gen App & Browser Testing Cloud

selector list argument of :nth-child and :nth-last-child CSS pseudo-classes

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 : 2025-11-11

Browser Versions

IEIE

EdgeEdge

FirefoxFirefox

ChromeChrome

SafariSafari

OperaOpera

5.5 - 11
Test on IE 5.5 - 11 ...
12 - 110
Test on Edge 12 - 110 ...
111 - 142
Test on Edge 111 - 142 ...
2 - 113
Test on Firefox 2 - 113 ...
114 - 147
Test on Firefox 114 - 147 ...
4 - 112
Test on Chrome 4 - 112 ...
113 - 145
Test on Chrome 113 - 145 ...
3.2 - 8
Test on Safari 3.2 - 8 ...
9.1 - 26.2
Test on Safari 9.1 - 26.2 ...
9.5 - 97
Test on Opera 9.5 - 97 ...
98 - 122
Test on Opera 98 - 122 ...

...Fully Supported

...Partially

...No Support

Browser Compatibility

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-142, 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-147, 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-145, 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.2, 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-122, 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.1, 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-142, 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-142, 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-144, 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.

75
Hightooltip

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 Now...

More Web Technologies

  • CSS
  • HTML 5
  • SVG
  • JS API
  • Security
  • JavaScript
  • Other Web Technologies
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Did you find this page helpful?

Helpful

NotHelpful