您现在的位置: 万盛学电脑网 >> 程序编程 >> 网页制作 >> DivCSS教程 >> 正文

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

作者:佚名    责任编辑:admin    更新时间:2022-06-22

   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 等)

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