CSS table row even and odd

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #EEE}

Share on facebook
Share on twitter
Share on pinterest
Share on linkedin
Share on reddit
Share on tumblr
Share on whatsapp
Share on email
Share on print

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.