CSS选择第奇数或偶数的元素

:nth-of-type(odd){} 奇数行  
:nth-of-type(even){} 偶数行  

猜你喜欢

转载自blog.csdn.net/qq_43649479/article/details/87921292