As I delve into analyzing the extent of unused CSS on my webpage, I encounter a challenge. The webpage is crafted in Angular 7, with CSS incorporated through the angular.json build configuration.
The css appears to be added to the head of the html file, evident from multiple style tags visible in the developer tools.
While many sources suggest utilizing Google Chrome's coverage tab in developers tools for this purpose, it seems to work seamlessly for JS but not CSS in my case.
Accompanied by screenshots depicting my observations:
https://i.sstatic.net/w0IhD.png
All indications point towards JS. Filtering for files containing CSS yields no results.
https://i.sstatic.net/kS8iz.png
Despite successful downloads of CSS files, they remain elusive in the analysis.
https://i.sstatic.net/yQiHL.png
How might one effectively scrutinize the code coverage styles present in the document's head section?
A peek at the structure within the document's head reveals:
https://i.sstatic.net/E5Dyi.png
https://i.sstatic.net/202kr.png
p.s. Chrome Version 75.0.3770.80 (Official Build) (64-bit)