选择器
- 属性和方法
- .class
- #id
- *
- element
- element,element
- element element
- element>element
- element+element
- [attribute]
- [attribute=value]
- [attribute~=value]
- [attribute|=value]
- :link
- :visited
- :active
- :hover
- :focus
- :first-letter
- :first-line
- :first-child
- :before
- :after
- :lang(language)
- element1~element2
- [attribute^=value]
- [attribute$=value]
- [attribute*=value]
- :first-of-type
- :last-of-type
- :only-of-type
- :only-child
- :nth-child(n)
- :nth-last-child(n)
- :nth-of-type(n)
- :nth-last-of-type(n)
- :last-child
- :root
- :empty
- :target
- :enabled
- :disabled
- :checked
- :not(selector)
- ::selection
单位
听觉参考手册
网络安全字体组合
CSS 属性
- 属性一览
- @keyframes
- animation
- animation-name
- animation-duration
- animation-timing-function
- animation-delay
- animation-iteration-count
- animation-direction
- animation-play-state
- animation-fill-mode
- background
- background-attachment
- background-color
- background-image
- background-position
- background-repeat
- background-clip
- background-origin
- background-size
- border
- border-bottom
- border-bottom-color
- border-bottom-style
- border-bottom-width
- border-color
- border-left
- border-left-color
- border-left-style
- border-left-width
- border-right
- border-right-color
- border-right-style
- border-right-width
- border-style
- border-top
- border-top-color
- border-top-style
- border-top-width
- border-width
- outline
- outline-color
- outline-style
- outline-width
- border-bottom-left-radius
- border-bottom-right-radius
- border-image
- border-image-outset
- border-image-repeat
- border-image-slice
- border-image-source
- border-image-width
- border-radius
- border-top-left-radius
- border-top-right-radius
- box-shadow
- overflow-x
- overflow-y
- overflow-style
- rotation
- rotation-point
动画属性(Animation)
背景属性(Background)
边框属性(Border 和 Outline)
Box 属性
- opacity
- height
- max-height
- max-width
- min-height
- min-width
- width
- box-align
- box-direction
- box-flex
- box-flex-group
- box-lines
- box-ordinal-group
- box-orient
- box-pack
- font
- font-family
- font-size
- font-size-adjust
- font-stretch
- font-style
- font-variant
- font-weight
- content
- counter-increment
- counter-reset
- quotes
- grid-columns
- grid-rows
- target
- target-name
- target-new
- target-position
- list-style
- list-style-image
- list-style-position
- list-style-type
- margin
- margin-bottom
- margin-left
- margin-right
- margin-top
- column-count
- column-fill
- column-gap
- column-rule
- column-rule-color
- column-rule-style
- column-rule-width
- column-span
- column-width
- columns
- padding
- padding-bottom
- padding-left
- padding-right
- padding-top
Color 属性
尺寸属性(Dimension)
可伸缩框属性(Flexible Box)
字体属性(Font)
内容生成(Generated Content)
Grid 属性
Hyperlink 属性
外边距属性(Margin)
多列属性(Multi-column)
内边距属性(Padding)
- bottom
- clear
- clip
- cursor
- display
- float
- left
- overflow
- position
- right
- top
- vertical-align
- visibility
- z-index
- page-break-after
- page-break-before
- page-break-inside
- border-collapse
- border-spacing
- caption-side
- empty-cells
- table-layout
- color
- direction
- letter-spacing
- line-height
- text-align
- text-decoration
- text-indent
- text-transform
- unicode-bidi
- white-space
- word-spacing
- hanging-punctuation
- punctuation-trim
- text-emphasis
- text-justify
- text-outline
- text-overflow
- text-shadow
- text-wrap
- word-break
- word-wrap
- transform
- transform-origin
- transform-style
- perspective
- perspective-origin
- backface-visibility
- transition
- transition-property
- transition-duration
- transition-timing-function
- transition-delay
- appearance
- box-sizing
- icon
- nav-down
- nav-index
- nav-left
- nav-right
- nav-up
- outline-offset
- resize