Is it possible to find in an html page what modification codes are used by whole css file?

If i have a css file with a lot of modification codes, is it any webpage or developer tool that can recognize loading a page, what css codes are used?

Upvotes: 0

Views: 36

Answers (1)

Nidhin Joseph
Nidhin Joseph

Reputation: 10237

You can try using the code coverage functionality that is part of chrome developer tools. Please find the link below to explore more. In a nut shell, it will give you an idea of how much percentage of the code, css/js is used by you application. In your case with css, it can give you which classes are not used.

You can find more details here in the Chrome Official Documentation or in this blog.

Upvotes: 1

Related Questions