Answers for "html table row background color even odd"

CSS
4

css alternate row color

tr:nth-child(even) {
  background-color: #f2f2f2;
}
Posted by: Guest on September-18-2021
13

css table alternating row color

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
Posted by: Guest on February-26-2020

Browse Popular Code Answers by Language