命名规范
- 位置属性(找位置):position,top,right,z-index,display,float
- 尺寸大小(规定楼层大小):width,height,padding,margin
- 背景边框(上水泥柱,弄个颜色):background,border
- 文字(装饰):font,font-size,color,text-align
- 其他(css3):animation,transition等
4.规定自己的代码风格
- 驼峰 className
- 中横线 class-name
- 下划线 class_name