给表格奇偶行加上不同的背景颜色
给表格奇偶行加上不同的背景颜色
tr:nth-child(odd){
background-color: red;
}
tr:nth-child(even){
background-color: aquamarine;
}
给表格奇偶行加上不同的背景颜色
tr:nth-child(odd){
background-color: red;
}
tr:nth-child(even){
background-color: aquamarine;
}