I have a class that is being styled in 5 different places, what is the order in which the browser goes through each of the different places?
Inline
<div class="yellowtag" style="background: yellow;">This is yellow</div>
First processed css file
// First instance inside of style.css .yellowtag { background: yellow; }
Second instance of yellow tag in first processed css file
// Second instance inside of style.css .yellowtag { background: yellow; }
Second processed css file (below the first .yellowtag rule)
// style2.css .yellowtag { background: yellow; }
In the head
<head> <style> .yellowtag { background: yellow; } </style> </head>