一、CSS选择器中的属性顺序:显示属性->自身属性->文本属性
显示属性:display, list-style, position, float, clear
自身属性:width, height, margin, padding,border,background
文本属性:color, font, text-decoration,text-align,vertical-align, white-space, content
原因:这个顺序是项目开发的代码标准,符合浏览器的渲染顺序,最终达到提高执行效率目的。