当前位置:Gxlcms > html代码 > CSS2书写顺序_html/css_WEB-ITnose

CSS2书写顺序_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:23人阅读

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

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

人气教程排行