Shano12 Posted December 12, 2016 Share Posted December 12, 2016 what is nth-child(even) AND nth-child(odd) USED FOR Link to comment Share on other sites More sharing options...
Ingolme Posted December 12, 2016 Share Posted December 12, 2016 That has nothing to do with HTML tables. It's a CSS selector. You can read about it here: http://www.w3schools.com/cssref/sel_nth-child.asp Link to comment Share on other sites More sharing options...
Shano12 Posted December 13, 2016 Author Share Posted December 13, 2016 What does it do anyway Link to comment Share on other sites More sharing options...
Ingolme Posted December 13, 2016 Share Posted December 13, 2016 The page I just linked to explains it. It selects elements at even and odd positions, respectively, in their parent element. You first need to understand what a CSS selector is. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now