Answers for "css zebra"

CSS
4

striped tables css

tr:nth-child(even) {
  background-color: #f1f8ff;
}
Posted by: Guest on June-26-2020
0

css zebra

table tr:nth-child(even) {
    background-color: #eee;
}

table tr:nth-child(odd) {
    background-color: #fff;
}
Posted by: Guest on March-20-2021

Browse Popular Code Answers by Language