实现表格隔行/隔列变色

来源:互联网 发布:楼市泡沫 知乎 编辑:程序博客网 时间:2024/04/30 11:42
table tr:nth-child(odd){background:#F4F4F4;}
table td:nth-child(even){color:#C00;}
table tr:nth-child(5){background:#73B1E0;color:#FFF;}
原创粉丝点击