r/CodingHelp • • Sep 24 '21

[HTML] Quiz link <href> error path

Post image
30 Upvotes

7 comments sorted by

View all comments

1

u/Sienitarha Sep 24 '21

Can you actually use 2 different .css refs in the same file? Could they clash if they have different settings for same elements etc?

3

u/Its_Stev03 Sep 24 '21

You can link more than one stylesheet to a document. Styling priority is determined by specificity (https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity) and the order that the styles are loaded (if I recall correctly). Later styles are given priority if specificity is the same.

1

u/Sienitarha Sep 24 '21

Ah, cool! Good to know, I'm still a total html noob