I am using Chrome DevTools Coverage tab to check the used part of a CSS file on wegpage https://www.datanumen.com/outlook-repair/, as below:
In the CSS file https://www.datanumen.com/wp-includes/css/dist/block-library/style.min.css?ver=5.8,
among 3000 lines, only 3 lines are used. But how to find out the locations where these CSS rules are applied in the source HTML page?
Update
I go to "Elements" tab, then press Ctrl + F, then input class name "aligncenter", the first one found is as below:
It seems that there are two files that use the same class name "aligncenter" in its CSS rule. As the block library CSS comes from Gutenberg editor, while style.css is developed by the company who develop the website. It is very likely the block CSS should be removed. However, I want to know further if there is a way or tool to find such a case, i.e., multiple CSS files use the same class name as the selector(CSS class name collision)? I think such a case should be rather common in large website.
Moreover, when searching the 2nd instance of the aligncenter, I get the following result:
It says "No match selector or style", why?