tr:nth-child(even) { background-color: red;} tr:nth-child(odd) { background-color: white;}
现代浏览器已经支持它。