News for hackers. Stuff that matters.
Re:Mincss "clears the junk out of your CSS" by JimWestergren on Tuesday January 22, 2013 @09:14AM (#5097151)
I am using the CSS Usage extension [1] for Firebug as a tool for this.

Quote:

How does it work?

- Open up the first page of the site you want to check and press the "Scan" button in the "CSS Coverage" Firebug tab.

- In case of a rich (Ajax or DHTML) site, open up as many divs/popups/tabs in the page as possible and press "Scan" again.

- Visit other pages of your site and press "Scan" again.

Each time you press "Scan", the CSS files that are included in the current page are shown with the number of times the rules has been found applied on your page before it.

[1] https://addons.mozilla.org/en-us/firefox/addon/css-usage/

Re:Mincss "clears the junk out of your CSS" by peterbe on Tuesday January 22, 2013 @09:48AM (#5097319)
That looks really cool! I'm impressed. That looks like a great tool for manual inspection when there's a lot of Javascript and conditional loading at play.

I installed it.