How to create a zebra striped table with CSS? Technology Community › Category: CSS › How to create a zebra striped table with CSS? 0 Vote Up Vote Down VietMX Staff asked 4 years ago To create a zebra-striped table, use the nth-child() selector and add a background-color to all even (or odd) table rows: tr:nth-child(even) { background-color: #f2f2f2 }