css选择表格偶数行

css代码
tr:nth-child(even){background:gray} 选择偶数行
tr:nth-child(even){background:gray} 选择奇数行
 
原文地址:https://www.cnblogs.com/jmlovepython/p/4862170.html