Search code examples
cssgoogle-chromedeveloper-toolsinspector

Chrome Developer Tools: How to find out what is overriding a CSS rule?


Well, this is pretty straightforward. If Chrome's Developer Tools is showing me that a style is overridden, how to see what CSS rule is overriding it?

I want to know if is there anything like "Show me what overrides this".

OBS: Please, don't point me to Firebug.


Solution

  • Use the Computed Style panel of the element inspector. Expand the property of interest to see the list of applicable rules, and which one won.

    Chrome screenshot