css书写顺序

css属性书写顺序
1.布局定位属性:display position float clear visibility overflow
2.自身属性: width height padding margin border background
3.文本属性;color font text-...
4.其他属性:css3的样式

.djc{
display:block;
position:relative;
float:left;

height:
margin:
font-family:
color:
background:
}

原文地址:https://www.cnblogs.com/dongweichang/p/15064094.html