css zebra code example
Example 1: striped tables css
tr:nth-child(even) {
background-color: #f1f8ff;
}
Example 2: css zebra
table tr:nth-child(even) {
background-color: #eee;
}
table tr:nth-child(odd) {
background-color: #fff;
}
tr:nth-child(even) {
background-color: #f1f8ff;
}
table tr:nth-child(even) {
background-color: #eee;
}
table tr:nth-child(odd) {
background-color: #fff;
}