INTERNET

Detect & Clean, Remove Unused CSS Styles, Selectors, Classes

If you have customized your wordpress template, website theme etc, you will have many unused css selectors, classes which have…

If you have customized your wordpress template, website theme etc, you will have many unused css selectors, classes which have no function that eating up some space. So here us a way to remove unused css styles, selectors.

Tip : Organize CSS Code, Files Online

Remove Unused CSS Classes from your Stylesheet

Dust-Me Selectors is a Firefox extension (for v1.5 or later) that finds unused CSS selectors. It extracts all the selectors from all the stylesheets on the page you’re viewing, then analyzes that page to see which of those selectors are not used.

Detect & Clean, Remove Unused CSS Styles, Selectors, Classes

Install Dust-Me Selectors Firefox AddOn : Link

The data is then stored so that when testing subsequent pages, selectors can be crossed off the list as they’re encountered. You can test pages individually, or spider an entire site, and you’ll end up with a profile of which selectors are not used anywhere.

Also See : Reload Images, CSS in Web Pages without Refreshing [JavaScript]


If you like this article, share your feedback or comments here.

SHARE