Zebra stripes [Image courtesy of panuruangjan at FreeDigitalPhotos.net]

I love that CSS3 allows zebra-striping of tables using the nth-child() selector.

The nth-child() selector can be a number, a keyword, or a formula.

See the Pen Zebra-striping table using CSS3 by David Fox (@foxbeefly) on CodePen.0

By foxbeefly

PHP / MySQL Developer

Leave a Reply

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.