Are there any good tools to help identify unused css definitions in project? A bunch of css files were pulled in and now I'm trying to clean things up a bit.
+18
A:
Take a look at the Firefox extension Dust-Me at http://www.sitepoint.com/dustmeselectors/.
David Medinets
2008-09-25 20:04:56
Big thanks! Looks like a useful extension.
jswanson
2008-09-25 20:50:25
+3
A:
A Better CSS Minifier in C# dumps redundant styles;
You would also want to use Dust-Me with this.
Keep in mind, if there is any content that is not currently visible to dust-me, you might throw out styles you need.
mjc
2008-09-25 20:07:55
+1
A:
Use Internet Explorer Developer Toolbar,s View > CSS Selector Matches: View a report of all style rules set and how many times they are used on the current page.
metal-gear-solid
2010-01-22 19:23:01
+3
A:
Google Chrome has a website auditing tool in their developer console.
Derek Adair
2010-06-24 19:08:36
It really is! They did a great job of classifying and identifying inefficiencies.
Derek Adair
2010-06-29 17:12:43
A:
Check out Google's PageSpeed for Firefox. It does this, and a whole load more.
Apparently a Chrome plugin is under development as well.
Drew Noakes
2010-09-27 17:49:24