-4

I am working with HTML web template, and I want to know if there is a way to check CSS code that is no longer needed. Deleted HTML pages do not need any CSS code related to removed HTML pages. One example is when one CSS covers all pages styling on a specified HTML page, and you remove the HTML page. The CSS code related to the removed HTML page should be removed as well. If you have lots of styling involved in the CSS file, checking unnecessary CSS codes need efforts.

Is there any way to check unused or unnecessary CSS code?

1 Answers1

0

you can use google developer tool to check percent of css not used by your html document. check the link below this will guide you along the way
http://www.labnol.org/internet/remove-unused-css/28635/