Detecting Unused CSS Classes

I'm looking for a tool, a plugin, that can test my web deployment if any class that is never used in CSS stylesheets.

All I found is just an interpretation of the currently displayed site, for which there is still a lot of work to check everything.

+4
source share
1 answer

Dust extraction selectors

Dust-Me Selectors is a Firefox extension (for version 1.5 or later) that finds unused CSS selectors.

http://www.sitepoint.com/dustmeselectors/dustmeselectors-2.2.zip

β€œIt extracts all the selectors from all the stylesheets on the page you are viewing, then analyzes this page to see which of these selectors is not used. Then the data is saved, so that when testing subsequent pages, the selectors can be a crossed out list because they occur.

+7
source

Source: https://habr.com/ru/post/1396803/


All Articles