多次提到团队协作与代码规范的问题,向大家提倡一种。这样便于阅读,查找与修改属性这语汇,使CSS代码更加的清晰规范。
一、显示属性
Example Source Code
[www.52css.com]
* display
* list-style
* position
* float
* clear
* list-style
* position
* float
* clear
二、自身属性
Example Source Code
[www.52css.com]
* width
* height
* margin
* padding
* border
* background
* height
* margin
* padding
* border
* background
三、文本属性
Example Source Code
[www.52css.com]
* color
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content