会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
浮生若夢♬為歡幾何
Always put yourself in the other's shoes.If you feel that it hurts you,it probably hurts others,too.
博客园
首页
新随笔
联系
订阅
管理
2017年6月7日
[CSS3] :nth-child的用法
摘要: :nth-child(2)选取第几个标签,“2可以是你想要的数字” :nth-child(n+4)选取大于等于4标签,“n”表示从整数,下同 :nth-child(-n+4)选取小于等于4标签 :nth-child(2n)选取偶数标签,2n也可以是even :nth-child(2n-1)选取奇数标
阅读全文
posted @ 2017-06-07 11:14 晏过留痕
阅读(319)
评论(0)
推荐(0)
编辑