table tr:nth-child(odd):hover{background:gainsboro}
table tr:nth-child(even):hover{background:greenyellow}
父元素下的奇数偶数元素选择器[nth-child-odd/even]
最新推荐文章于 2022-08-21 19:43:11 发布
table tr:nth-child(odd):hover{background:gainsboro}
table tr:nth-child(even):hover{background:greenyellow}