首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

收拾推荐的CSS属性书写顺序

2012-09-10 
整理推荐的CSS属性书写顺序一. Mozilla 建议CSS规则.cl {display: visibility: float: clear: positio

整理推荐的CSS属性书写顺序

一. Mozilla 建议CSS规则

.cl {    display: ;    visibility: ;    float: ;    clear: ;        position: ;    top: ;    right: ;    bottom: ;    left: ;    z-index: ;       width: ;    min-width: ;    max-width: ;    height: ;    min-height: ;    max-height: ;    overflow: ;    margin: ;    margin-top: ;    margin-right: ;    margin-bottom: ;    margin-left: ;    padding: ;    padding-top: ;    padding-right: ;    padding-bottom: ;    padding-left: ;    border-width: ;    border-top-width: ;    border-right-width: ;    border-bottom-width: ;    border-left-width: ;    border-style: ;    border-top-style: ;    border-right-style: ;    border-bottom-style: ;    border-left-style: ;    border-color: ;    border-top-color: ;    border-right-color: ;    border-bottom-color: ;    border-left-color: ;    outline: ;    list-style: ;    table-layout: ;    caption-side: ;    border-collapse: ;    border-spacing: ;    empty-cells: ;    font: ;    font-family: ;    font-size: ;    line-height: ;    font-weight: ;    text-align: ;    text-indent: ;    text-transform: ;    text-decoration: ;    letter-spacing: ;    word-spacing: ;    white-space: ;    vertical-align: ;    color: ;    background: ;    background-color: ;    background-image: ;    background-repeat: ;    background-position: ;    opacity: ;    cursor: ;    content: ;    quotes: ;}
详情可见http://fordinteractive.com/2009/02/order-of-the-day-css-properties/




热点排行