css cheatsheet(二)
伪类选择符Pseudo-Classes Selectors
:link
:visited
:hover
:active
:focus
:lang()
:not()
:root
:first-child
:last-child
:only-child
:nth-child(n)
:nth-last-child(n)
:first-of-type
:last-of-type
:only-of-type
:nth-of-type(n)
:nth-last-of-type(n)
:empty
:checked
:enabled
:disabled
:target
@page:first
@page:left
@page:right
内容Content
content
counter-increment
counter-reset
quotes
打印Printing
page
page-break-before
page-break-after
page-break-inside
颜色值Values
Color Name
HEX
RGB
RGBA
HSL
HSLA
transparent
文本值Textual
<string>
<url>
<identifier>
函数值Functional
counter()
attr()
calc()
cycle()
图像值Image
linear-gradient()
radial-gradient()
repeating-linear-gradient()
repeating-radial-gradient()
数字值Numeric
<integer>
<number>
其它类型值Other
<length>
<percentage>
<angle>
<time>
<frequency