How is this done?
Nicolas Pavez
11

To use this feature in the Chrome Dev Tool

  1. Check CSS Coverage in the Timeline panel
  2. Make a recording and interact with parts of the page you want to capture in your analysis
  3. Go to your CSS file in the Sources Panel and observe the unused CSS line markings

Source:

https://umaar.com/dev-tips/121-css-coverage/