摘要: 伪类: 1、结构伪类 A:E : first-child{} E : nth-*(n){} E : first-*(even){} E : first-*(odd){} B:nth-child 是根据其父元素中国子元素的总数进行计算 nth-of-type 是根据特定类型的子元素进行计数 nth-l 阅读全文
posted @ 2016-05-25 22:52 ^^-^^- 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 属性选择器: 1、CSS属性选择器 属性选择器E[attr="value"]{} 包含属性选择器E[attr~="value"]{} 2、CSS3的新属性选择器 任意属性选择器E[attr*="value"]{} 开始子串属性选择器E[attr^="value"]{} 结束子串属性选择器E[attr 阅读全文
posted @ 2016-05-25 22:20 ^^-^^- 阅读(138) 评论(0) 推荐(0) 编辑