网站制作学习网DIV+CSS→正文:css3.0学习 CSS3选择器
字体:

css3.0学习 CSS3选择器

DIV+CSS 2010/12/13 13:46:55  点击:不统计

%77w%77%2E%66%6F%72%61%73%70%2E%63%6E
第九节 CSS3选择器

CSS3选择器有
1.子串匹配的属性选择符 E[att^="val"]
2.子串匹配的属性选择符 E[att$="val"]
3.子串匹配的属性选择符 E[att*="val"]
4.结构性伪类 E:root
5.结构性伪类 E:nth-child(n)
6.结构性伪类 E:nth-last-child(n)
7.结构性伪类 E:nth-of-type(n)
8.结构性伪类 E:nth-last-of-type(n)
9.结构性伪类 E:last-child
10.结构性伪类 E:first-of-child
11.结构性伪类 E:only-child
12.结构性伪类 E:only-of-type
13.结构性伪类 E:empty
14.UI元素状态伪类 E:checked
15.UI元素状态伪类 E:enabled
16.UI元素状态伪类 E:disabled
17.UI元素状态伪类 E::selection
18.否定伪类 E:not(s)
19.目标伪类 E:target
10.通用兄弟元素选择器 E ~ F
下面我们按顺序分别对CSS3的选择器进行学习

http://www.forasp.cn/

·上一篇:css3.0学习 media queries >>    ·下一篇:css3.0学习 CSS3选择器(一) >>
推荐文章
最新文章