2014-7-22
摘要:
一、first-child与firsty-of-type :first-child 匹配的是某父元素的第一个子元素,可以说是结构上的第一个子元素。 :first-of-type 匹配的是该类型的第一个,类型是指什么呢,就是冒号前面匹配到的东西,比如 p:first-of-type,就是指所有p元... 阅读全文
posted @ 2014-07-22 22:41 junmeil 阅读(145) 评论(0) 推荐(0)
posted @ 2014-07-22 22:41 junmeil 阅读(145) 评论(0) 推荐(0)