摘要: 1.奇偶属性: /*奇数*/ ul li:nth-child(odd){ background-color: green; } /*偶数*/ ul li:nth-child(even){ background-color: red; } 2.大于某个数的选择器 li大于1的li元素的变成红色 ul 阅读全文
posted @ 2019-09-06 14:06 星雨,恒奋斗,过客 阅读(126) 评论(0) 推荐(0) 编辑