Show all CSS styles for an element, even if the media query does not currently match

Is there a way (preferably in Chrome Developer Tools) to see all the CSS styles that apply to a particular element?

The Styles tab in Chrome Devtools shows only those rules whose media request requests currently match.

+4
source share
2 answers

enter image description here

You can simply click on the elements tab and then the link to the stylesheet, it will take you to the Source tab, where you can easily edit the stylesheet and see the styles already defined in the stylesheet.

enter image description here

-2

Source: https://habr.com/ru/post/1609575/


All Articles