CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
Is there any way to use 2 different color for tables rows:
notice that I want to do this without adding any classes to rows for color1 or 2.
This reply has been reported for inappropriate content.
tr:nth-child(even) or (odd) or (2n)
Thanks you very much.
It really works very well!!!
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed