格式化CSS代碼的利器——Styleneat.com

來源:互聯網
上載者:User
範例程式碼 [www.52css.com]

 id1 { width: 100px; }
id1 .class1 { background: #000; }
id1 .class1 a { text-decoration: none; color: #fff; }
id1 .class1 a span { text-indent: 10px; }
id2 { width: 200px; }

  

格式化後:

id1 { width: 100px; }
    id1 .class1 { background: #000; }
        id1 .class1 a { color: #fff; text-decoration: none; }
            id1 .class1 a span { text-indent: 10px; }
 
id2 { width: 200px; }

  

Styleneat.com 提供三種使用方式:

  1、直接粘貼 CSS 代碼。 
  2、上傳一個 CSS 檔案。 
  3、提供 CSS 檔案的 URL 地址。 

  另外 Styleneat 還提供一些選項,如按照 CSS 選擇的字母順序排列,單行格式或者多行格式等。Styleneat 在 CSS 最佳化方面還是提供了比較多的協助。

地址: http://styleneat.com/

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.