I'm making template. In css file are many css classes, which are no longer used in the template. It takes a long time to find and remove them manually.
Is there any tool that will find and remove unused css classes?
I'm making template. In css file are many css classes, which are no longer used in the template. It takes a long time to find and remove them manually.
Is there any tool that will find and remove unused css classes?
Try Firefox extension Dust-Me
OR
you may also try Chrome Developer Tools
This Chrome developer tool has an Audits tab which can shows unused CSS selectors.
Run an audit > under Web Page Performance see Remove unused CSS rules
OR
http://unused-css.com/ tool explores your all pages and removes unused CSS.
We Use Chrome's Audit feature. Very simple and easy to use. Below is the screenshot showing unsused CSS for gmail. By viewing this, you can remove the unnecessary ones.
This works even for localhost sites. (You need not move to public URL to test.)