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

Ramon K. picture Ramon K. · Dec 13, 2012 · Viewed 61.6k times · Source

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.

Answer

josh3736 picture josh3736 · Dec 13, 2012

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