Find unused css

前端 未结 8 2033
醉梦人生
醉梦人生 2020-12-05 11:31

I\'m doing some development for some pages on our internal network. I want to know if there\'s an open source tool or FF plugin which can identify unused css within a projec

相关标签:
8条回答
  • 2020-12-05 12:18

    I have CSS Usage installed in FF. But barely used it once. It searches for un-used CSS on the current page, not the whole project though.

    0 讨论(0)
  • 2020-12-05 12:18
    1. Chrome addon, which generate stylesheet of css rules effectively used in a page, can be tried for the quick results..here is the link

      https://chrome.google.com/webstore/detail/css-remove-and-combine/cdfmaaeapjmacolkojefhfollmphonoh It also gives summary about the rules, which are not been used.

    2. And this one involves grunt and related plugins to find unused code http://addyosmani.com/blog/removing-unused-css/

    0 讨论(0)
提交回复
热议问题