I have a bunch of CSS files with a bunch of classes. I know a lot are not used.
Is there a tool that will scan your site and clean up your CSS files or tell me which ones aren't used?
I have a bunch of CSS files with a bunch of classes. I know a lot are not used.
Is there a tool that will scan your site and clean up your CSS files or tell me which ones aren't used?
That's a lot of different tools you're asking.
Firebug has a plugin called "CSS usage": it tells you what CSS files are used.
Then there's the CSS minifier (compresses your CSS code).
And finally, there's the CSS beautifier.
This site has some nice tricks about what you need to do http://www.makeuseof.com/tag/useful-tools-to-check-clean-and-optimize-your-css-file/.
It suggests some tools like a Firefox plugin called Dust-Me selectors.. http://www.sitepoint.com/dustmeselectors/