This is the order of precedence(Highest to lowest):
Specific rules: When we target html by claa or id or tag. Order
of precedence is ID>class>tag. IF specificity is the same, later takes the precedence.Inline styles
Embedded styles: Styles defined inside the header of a page.
External styles
Browser Default
Top comments (0)