Css orphaned detector?

I am wondering if anyone knows about a tool that will help me identify outdated CSS (declared styles that will never be used) on my site. thanks!

+4
source share
2 answers

See the CSS cleaner here on SO.

+3
source

Since stylesheets can be added using scripts, and elements and classes can be created using scripts, it can be risky to remove the css and id classes if they are not found in the html of these pages that literally link to those stylesheets.

However, perl is a good tool for any on-site search and replace operation.

0
source

All Articles