- table tr:nth-child(odd){background:#F4F4F4;}
- table td:nth-child(even){color:#C00;}
- table tr:nth-child(5){background:#73B1E0;color:#FFF;}
以上分别为: 奇数行、偶数列、第五行。
转自:http://www.qdker.com/archives/103.html
以上分别为: 奇数行、偶数列、第五行。
转自:http://www.qdker.com/archives/103.html