bootstrap表格通过css样式实现隔行换色

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yu_hongrun/article/details/79009484

代码样式如下
table tr:nth-child(even){
background: #ccc;
}

猜你喜欢

转载自blog.csdn.net/yu_hongrun/article/details/79009484