### **css属性书写顺序** **1.位置属性** ~~~ ( display, visibility; float, clear, position, top, right, bottom, left, z-index, ) ~~~ <br> <br> **2.大小** ~~~ ( width, height, border padding, margin overflow, ) ~~~ <br> <br> **3.文字系列** ~~~ ( font, color, line-height, text-align, white-space, letter-spacing, ) ~~~ <br> <br> **4.背景边框** ~~~ ( background, ) ~~~ **5.其他** ~~~ ( animation, transition ) ~~~