Issue
There are lots of tools for finding unused CSS rules in stylesheets, such as Chrome Audits and the Dust-Me Selectors add-on for Firefox (unfortunately not compatible with Firefox Quantum).
But what about the other way around?
How do I find classes that are in my HTML, that do not exist in my stylesheets?
Solution
This may be helpful: https://code.google.com/p/find-unused-classes/ . According to the description:
It shows classes that exist in css selectors and do not exist on html page and like-verse.
As Jim said, be warned that some classes may be unused by your stylesheets but still used in JavaScript.
Answered By - BadgerPriest
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.