主页速查表
»
选择符列表
相关内容:
选择符参考
选择项
CSS Selectors Module
CSS选择符集合
元素选择符 Element Selectors
*
E
E#id
E.class
关系选择符 Relationship Selectors
E F
E>F
E+F
E~F
属性选择符 Attribute Selectors
E[att]
E[att="val"]
E[att~="val"]
E[att^="val"]
E[att$="val"]
E[att*="val"]
E[att|="val"]
伪类选择符 Pseudo-Classes Selectors
E:link
E:visited
E:hover
E:active
E:focus
E:lang(fr)
E:not(s)
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
伪对象选择符 Pseudo-Element Selectors
E:first-letter/E::first-letter
E:first-line/E::first-line
E:before/E::before
E:after/E::after
E::placeholder
E::selection
紫色
链接表示该属性在CSS3有修改或者增加了新的属性值;
橙色
链接表示该属性是CSS3新增属性