[关闭]
@Belinda 2015-05-18T09:10:18.000000Z 字数 718 阅读 1037

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
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注