css书写顺序

第一梯队:位置相关的属性

display

position

float

clear

visibility

overflow

第二梯队:自身属性

width

height

margin

padding

border

background

第三梯队:文字属性

color

font

text-decoration

text-align

vertical-align

white-space

break-word

第四梯队:css3属性

content

cursor

border-radius

box-shadow

text-shadow

background:linear-gradient之类的

原文地址:https://www.cnblogs.com/qingshanyici/p/14689426.html