How do you determine what is overriding your style? [duplicate]
This question already has answers here : Chrome Developer Tools: How to find out what is overriding a CSS rule? (3 answers) Closed 3 years ago . When fiddling around with styles of sample code, I find the code has styles that will override my style because they will use a higher priority reference (e.g.: .div .class > .class ). I will encounter situations like this: How do I find out what style is overriding my style? I want to avoid using !important because eventually I'll end up in the same situation. EDIT: I'm not asking why this is happening. I already know about priority, hence why I