---
title: "CSS书写顺序"
author: "eclipse07"
date: "2010-06-03T15:35:33Z"
tags: []
categories: ["Web前端"]
slug: "css"
draft: false
lastmod: "2010-06-03T15:35:33Z"
id: 683114
url: "https://eclipse07.iteye.com/blog/683114"
---

淘宝UED的CSS书写顺序：

```html
.css {
   // 显示属性
   display:
   position:
   float:
   clear;
   cursor:

    // 盒模型
    width:
    height:
    margin:
    padding:

    // 文字
    color:
    font:
    content:
    text-align:
    text-decoration:
    white-space:
    vertical-align:

     // 边框和背景(容易修改)
     border:
     background:
}

```