建议遵循以下顺序:

    1. 布局定位属性:display / position / float / clear / visibility / overflow(建议 display 第一个写,毕竟关系到模式)
    2. 自身属性:width / height / margin / padding / border / background
    3. 文本属性:color / font / text-decoration / text-align / vertical-align / white- space / break-word
    4. 其他属性(CSS3):content / cursor / border-radius / box-shadow / text-shadow / background:linear-gradient …
    1. .chuan {
    2. display: block;
    3. position: relative;
    4. float: left;
    5. width: 100px;
    6. height: 100px;
    7. margin: 0 10px;
    8. padding: 20px 0;
    9. font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    10. color: #333;
    11. background: rgba(0,0,0,.5);
    12. border-radius: 10px;
    13. }