最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Mozilla建议的CSS书写顺序
时间:2008-01-11 编辑:简简单单 来源:一聚教程网
/* mozilla.org Base Styles
* maintained by fantasai
* (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup)
*/
/* Suggested order:
//显示属性
* display
* list-style
* position
* float
* clear
//自身属性
* width
* height
* margin
* padding
* border
* background
//文本属性
* color
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content
*
*/
* maintained by fantasai
* (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup)
*/
/* Suggested order:
//显示属性
* display
* list-style
* position
* float
* clear
//自身属性
* width
* height
* margin
* padding
* border
* background
//文本属性
* color
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content
*
*/
相关文章
- 常用的CSS缩写语法一些方法小结 02-14
- 大型公司CSS书写规范及顺序 命名规则详解 11-23
- CSS浮出层常用写法 03-20
- IE6.0/IE7.0/IE8.0 的CSS-HACK写法与注释 04-22
- css ie ff 中hack 写法详解 02-21
- css ie6 ie7 firefox兼容写法 05-19