选择符 Selectors
说明:本文档兼容性测试基础环境为:windows系统;IE6-IE10, Firefox6.0, Chrome13.0, Safari5.1, Opera11.51
元素选择符
关系选择符
属性选择符
伪类选择符
- E:link
- E:visited
- E:hover
- E:active
- E:focus
- E:lang()
- E:not()
- E:root
- E:first-child
- E:last-child
- E:only-child
- E:nth-child(n)
- E:nth-last-child(n)
- E:first-of-type
- E:last-of-type
- E:only-of-type
- E:nth-of-type(n)
- E:nth-last-of-type(n)
- E:empty
- E:checked
- E:enabled
- E:disabled
- E:target
- @page:first
- @page:left
- @page:right
伪对象选择符
这种颜色 的链接表示是CSS3新增的或者在CSS3中有所调整