Does your site run on Perch CMS? Hire me to help. Perch CMS Development

Find unused CSS selectors with a Firefox add-on

Posted on by Clive Walker in CSS Web Design

I wrote this post a while back. The content can still be relevant but the information I've linked to may not be available.

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 : ,

Does your site run on Perch CMS? Hire me to help. Perch CMS Development

Comments are OFF for this post.

© 2022 Clive Walker