I have a 3 CSS stylesheets with about 9500 lines. Some of these selectors are called from within functions. A large number of these selectors are now obsolete. Is there any program out there that can scan a php website project and automatically remove selectors that are not in use? I'm developing, so my website is on localhost.
Asked
Active
Viewed 1,125 times
0
-
1This may help http://stackoverflow.com/questions/33242/how-can-i-find-unused-images-and-css-styles-in-a-website – Chitowns24 Mar 13 '14 at 06:36
-
You may also try "Audits" option from Chrome's developer toolbar. It really helped me. Have a try. :) – Ravi Dhoriya ツ Mar 13 '14 at 06:42
-
When using this tools keep in mind that some css styles on your page are just there so jQuery can find something. They might not have a rule in the css definitions but are needed. – mainguy Mar 13 '14 at 12:22
1 Answers
0
this will help you. and there are many other this kind of website will help you lot.

Mihir Vadalia
- 93
- 1
- 3