css书写规范

前面也写了一篇属性顺序

一、CSS书写顺序

1.位置属性(position, top, right, z-index, display, float等)
2.大小(width, height, padding, margin)
3.文字系列(font, line-height, letter-spacing, color- text-align等)
4.背景(background, border等)
5.其他(animation, transition等)

posted @ 2016-05-12 14:29  nohuman  阅读(114)  评论(0)    收藏  举报