Css 官方文檔

Resource

Related

Box Model

Margin

Padding

Dimension

  • height
  • max-height
  • max-width
  • min-height
  • min-width
  • width

Border and Outline

Selectors

Basic Selectors

Pseudo-Selectors

  • ::selection
  • :active
  • :after
  • :before
  • :checked
  • :disabled
  • :empty
  • :enabled
  • :first-child
  • :first-letter
  • :first-line
  • :first-of-type
  • :focus
  • :hover
  • :lang(language)
  • :last-child
  • :last-of-type
  • :link
  • :not
  • :nth-child(n)
  • :nth-last-child(n)
  • :nth-of-type(n)
  • :only-child
  • :only-of-type
  • :root
  • :target
  • :visited

Style

Background

Color

Font

  • @font-face
  • font-family
  • font-size
  • font-size-adjust
  • font-stretch
  • font-style
  • font-variant
  • font-weight

Positioning

  • bottom
  • clear
  • clip
  • cursor
  • display
  • float
  • left
  • overflow
  • position
  • right
  • top
  • visibility
  • z-index

Elements

Hyperlink

  • target
  • target-name
  • target-new
  • target-position

Text

List

Table

  • border-collapse
  • border-spacing
  • caption-side
  • empty-cells
  • table-layout

CSS3 Box

Box

  • overflow-style
  • overflow-x
  • overflow-y
  • rotation

Flexible Box

  • box-align
  • box-direction
  • box-flex
  • box-flex-group
  • box-lines
  • box-ordinal-group
  • box-orient
  • box-pack

Multi-column

  • column-count
  • column-fill
  • column-gap
  • column-rule
  • column-rule-color
  • column-rule-style
  • column-rule-width
  • column-span
  • column-width
  • columns

Animation

Animation

2D/3D Transform

Transition

Page

Generated Content

Miscellaneou

Print

User-interface

  • appearance
  • box-sizing
  • icon
  • nav-down
  • nav-index
  • nav-left
  • nav-right
  • nav-up
  • outline-offset
  • resize