整体遵循以下顺序:
- 布局定位属性
- 自身属性
- 文本属性
- 其他属性(css3)
这里是对各个布局属性的介绍,包含哪些属性值
布局定位属性:
- display
- float
- position
- clear
- visibility
- overflow
自身属性:
- width
- height
- margin
- padding
- border
- background
文本属性:
- color
- font
- text-decoration
- text-align
- vertical-align
- white-space
- break-word
其他属性:
- content
- cursor
- border-radius
- box-shadow
- text-shadow
- background:linear-gradient