li:first-child{color:red}
li:last-child{color:red}
li:nth-child(3){color:red}
li:nth-child(2n){color:red}
li:nth-child(2n+1){color:red}
li:first-child{color:red}
li:last-child{color:red}
li:nth-child(3){color:red}
li:nth-child(2n){color:red}
li:nth-child(2n+1){color:red}
本文标题:选择器
本文链接:https://www.haomeiwen.com/subject/zpstbdtx.html
网友评论