摘要: 方法:使用伪类选择器处理 1、选择第n个,n代表数字 :nth-child(n){ } 2、选择列表中的偶数的标签 :nth-child(2n){} :nth-child(even){ } 3、选择列表中的奇数的标签 :nth-child(2n - 1){ } :nth-child(odd){ } 阅读全文
posted @ 2021-12-08 10:29 zigood 阅读(2722) 评论(0) 推荐(0) 编辑