Next-Gen App & Browser
Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

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 : 2023-03-20

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 - 111
Test on Edge 111 - 111 ...
2 - 113
Test on Firefox 2 - 113 ...
4 - 112
Test on Chrome 4 - 112 ...
113 - 114
Test on Chrome 113 - 114 ...
3.2 - 8
Test on Safari 3.2 - 8 ...
9.1 - 16.4
Test on Safari 9.1 - 16.4 ...
9.5 - 95
Test on Opera 9.5 - 95 ...

...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-111, and not supported on 12-110 Edge versions.

selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Firefox is not supported on any Firefox versions.

selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Chrome is fully supported on 113-114, 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-16.4, 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 not supported on any 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-16.4, 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-111, and not supported on 2.1-109 Android Browser versions.

selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Opera Mobile is not supported on any 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-111, 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 not supported on any Firefox for Android versions.

selector list argument of :nth-child and :nth-last-child CSS pseudo-classes on Samsung Internet is not supported on any Samsung Internet versions.

17
Lowtooltip

Overall Browser Compatibility Score

Note:selector list argument of :nth-child and :nth-last-child CSS pseudo-classes shows a browser compatibility score of 17. 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...

KaneAI - Testing Assistant

World’s first AI-Powered E2E testing agent.

...
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Signup for free

Did you find this page helpful?

Helpful

NotHelpful