V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
tamamaxox

清理多余的样式的工具

  •  
  •   tamamaxox · Jan 5, 2014 · 3787 views
    This topic created in 4501 days ago, the information mentioned may be changed or developed.
    https://github.com/geuis/helium-CSS

    没有用过,据说不支持ie6~7,分享给有需要的人
    8 replies    1970-01-01 08:00:00 +08:00
    zhouzb889
        1
    zhouzb889  
       Jan 5, 2014
    正好需要,拿走
    babytomas
        2
    babytomas  
       Jan 5, 2014 via Android
    收藏先,刚好几个模板好多样式好麻烦
    sd4399340
        3
    sd4399340  
       Jan 5, 2014
    addy osmani 大神也写过一个类似的grunt插件
    https://github.com/addyosmani/grunt-uncss
    romoo
        4
    romoo  
       Jan 5, 2014   ❤️ 1
    一般是通过 Chrome - Dev tool - Audits 来看的。
    tamamaxox
        5
    tamamaxox  
    OP
       Jan 5, 2014
    @romoo 这个方法不错啊,一直用chrome都没有看过Audits
    crs0910
        6
    crs0910  
       Jan 5, 2014
    一跑一个页面一大堆出来。。。掩面。。。
    tamamaxox
        7
    tamamaxox  
    OP
       Jan 5, 2014
    @crs0910 仅供辅助,关键还是靠模块化管理。
    momou
        8
    momou  
       Jan 5, 2014
    多页面如何处理?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 23:20 · PVG 07:20 · LAX 16:20 · JFK 19:20
    ♥ Do have faith in what you're doing.