The newest versions of :nth-child()
and :nth-last-child()
accept an optional of S clause which filters the children to only those which match the selector list S. For example, :nth-child(1 of .foo) selects the first child among the children that have the foo class (ignoring any non-foo children which precede that child). Similar to :nth-of-type, but for arbitrary selectors instead of only type selectors.
Make sure you will not get selector list argument of :nth-child and :nth-last-child CSS pseudo-classes
error for your website on different browsers. With LambdaTest you can test your website on 2000+ browser and OS combinations for cross browser compatibility issues.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes
Chrome browser doesn't supports selector list argument of :nth-child and :nth-last-child CSS pseudo-classes
property.
Mozilla Firefox browser doesn't supports selector list argument of :nth-child and :nth-last-child CSS pseudo-classes
property at all.
IE browser doesn't supports this property.
Safari browser version 3.1 to 8 doesn't supports selector list argument
. Safari 9 to 11.1 supports it completely.
Microsoft Edge browser doesn't support this property completely.
Opera browser doesn't support this property completely.
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
All websites and webapps use collections of a lot of browser technologies and elements. Not all of these elements are supported by all browsers and browser versions. At LambdaTest you can test your website on all browsers and browser versions and easily debug browser compatibility issues in real time.
You can test your website for cross browser compatibility across all Firefox browser versions using LambdaTest
Perform cross browser testing of your website/ webapp across all Chrome browser versions using LambdaTest
Check your website on all Safari browser on Mac and Windows for cross browser compatibility with LambdaTest
Perfrom cross browser testing of your website/ web app across all IE verions using LambdaTest
Our plans starts with a free plan where you access to all features and free 60 minutes of live testing per month.
Need support for a larger team? We have very flexible plans and if they don’t suffice, leave us a message here, and we would help you out.