css美化、优化、合并工具推荐_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:58:01
Original
1598 people have browsed it

其实很多时候,我们写完css规则之后,我们思考的无非就是3件事情: 

  1. 验证
  2. 美化
  3. 压缩

当然无论是我们自己做这样的工具还是寻找一些比较好的成熟的工具,都有几个期望:

  • 是否支持一些ie下的hack方式:
  • *property:value

    _property:value

    property:valye\9

     

  • 是否支持@import
  • 是否支持@charset "UTF-8"
  • 是否支持!important
  • 等等。。。。。

     

    下面简单介绍2款我比较常用工具: 

    1、CSSTidy 

  • 可以对css进行压缩,可以自动将注释和多余的属性去掉
  • 不内置验证工具
  • 不支持expression
  •   也可以试用下面地址: 

    http://www.css88.com/tool/csstidy/?lang=cn 

    2、FormatCSS

     非常简单看看就知道,有时间我再补充这一段。

    扩展阅读: 

    1、脚本之家提供的在线地址:http://www.jb51.net/tools/cssyasuo.shtml 

    2、http://www.iteye.com/news/23692  更多的推荐工具

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!