摘要: 本篇文章由:http://xinpure.com/css3-pseudo-class-difference-between-nthchild-and-nthoftype/首先来看看 nth-child(n) 和 nth-of-type(n) 的共同点两者唯一的共同点就是: 参数n的用法n 可以是数字、关键词或公式(n > 0)nth-child(2) 表示其父元素的第二个子元素nth-child(... 阅读全文
posted @ 2015-03-16 22:57 xinpureZhu 阅读(511) 评论(0) 推荐(0) 编辑