:nth-child()

:nth-child(index)

表示其父级子集的第index元素(index从1开始)

odd表示奇数行  even表示偶数行

原文地址:https://www.cnblogs.com/beng/p/3507255.html