I had studied earlier that embedded CSS always overrides external css. But I found that whichever comes last in the code, those styles prevail.
Please see the follo
After all the rules of css, if there are 2 with the same specificity, the last one defined will take over.
For example, writing:
div { background: green; } div { background: red; }
Will turn it red regardless of the source.