摘要: ul li:first-child{ } 第一个ul li:last-child{ } 最后一个ul li:nth-child(4){ } 指定第几个,4就是代表第四个ul li:nth-child(2n+1){background:red;}/*匹配第1、第3、第5、…个li*/ul li:nth 阅读全文
posted @ 2020-12-07 16:29 zeal666 阅读(388) 评论(0) 推荐(0)