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 等)
如果要使用浏览器的私有属性,那它们就放在最前面。
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 等)
如果要使用浏览器的私有属性,那它们就放在最前面。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。