CSS2书写顺序包括位置属性、自身属性、文字系列

  发布时间:2014-04-02 16:49:33   作者:佚名   我要评论
这篇文章主要介绍了CSS2书写顺序包括位置属性、自身属性、文字系列,需要的朋友可以参考下
1.位置属性(display, float, position, top, right, z-index, visibility,clear,list-style等)

2.自身属性(width, height,line-height, margin, padding, border, overflow, min-width等)

3.文字系列(font, color, text-align, text-decoration, vertical-align, white-space, letter-spacing, background 等)

如果要使用浏览器的私有属性,那它们就放在最前面。

相关文章

最新评论