Mozilla 的CSS建议书写顺序
2007年6月5日 | 作者: 牧天 | 分类: CSS, Web Standards- /* mozilla.org Base Styles
- * maintained by fantasai
- * (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup )
- */
- /* Suggested order:
- // 显示属性 (by: Matt)
- * display
- * list-style
- // 定位属性 (by: Matt)
- * position
- * float
- * clear
- // 盒模型属性 (by: Matt)
- * width
- * height
- * margin
- * padding
- * border
- // 颜色属性 (by: Matt)
- * background
- * color
- // 文本属性 (by: Matt)
- * font
- * text-decoration
- * text-align
- * vertical-align
- * white-space
- * other text
- * content
- *
- */
- /* TOC:
- Body
- Random HTML Styles
- Forms
- General Structure
- Navigation
- Quotations
- Comments and Other Asides
- Emphasis
- Computers - General
- Code
- Examples and Figures
- Q and A (FAQ)
- Tables
- Headers
- Meta
- Specific to Products Pages
- */
来源:
http://www.mozilla.org/css/base/content.css
http://www.mozilla.org/css/cavendish/content.css
没想到自己墨守了大部分规范呢
呵呵,只能说是建议,应该还谈不上是规范
学习一下,
Customized Design Solutions…
I couldn’t understand some parts of this article, but it sounds interesting…