会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
星雨,恒奋斗,过客
博客园
首页
新随笔
联系
订阅
管理
2019年9月6日
css3新属性的技巧
摘要: 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)
编辑
公告