Bluehost: Web hosting from $3.95/month. Sign Up

Find unused CSS selectors with a Firefox add-on

Posted on by Clive Walker in CSS Web Design

If you work on several websites at once (it sometime seems like I am doing this all the time) and/or if you inherit a website's CSS development, it can be tricky to keep a track of your style sheet selectors. Which selectors are used and which have become redundant?

I find it useful to delete redundant style sheet rules because this helps me work more efficiently but I usually find the redundant items by doing a sitewide search in Dreamweaver. This works fine but it can be time-consuming to do this on a large style sheet.

Now, there's a nifty Firefox add-on called Dust-Me Selectors that will quickly scan any page you browse to find unused selectors. There's also a full explanation of how Dust-Me Selectors works.

This might just become one of my 'must-have' tools. Great work from brothercake!

Technorati : ,

© 2016 Clive Walker