Take a look at the Firefox extension Dust-Me at http://www.sitepoint.com/dustmeselectors/.
Google Chrome has a website auditing tool in their developer console.
Also I found this site for removing unused css - http://unused-css.com/ . Type the url of a site and you will get a list of CSS selectors. For each selector, a number indicates how many times a selector is used. This service has a few limitations. The @import statement is not supported. You can't configure and download the new clean CSS file.
Helium CSS is a javascript tool for discovering unused CSS across many pages on a web site. You first have to install the javascript file to the page you want to test. Then, you have to call a helium function to start the cleaning.
CSSESS is a bookmarklet that helps you find unused CSS selectors on any site. This tool is pretty easy to use but it won't let you configure and download clean CSS files. It will only list unused CSS files.
How can I find unused images and CSS styles in a website?
1.4m articles
1.4m replys
5 comments
57.0k users