Answers for "css table alternating row color"

CSS
12

css table alternating row color

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

css table alternating row color

tr:nth-child(odd){
   background: #dedede;
}
Posted by: Guest on October-17-2021

Browse Popular Code Answers by Language