Skip to content
RED SAGSkills
medium10 pts · first answer countscssspecificity

Which CSS rule wins

A paragraph has id="intro" and class="note". All rules below are in the same stylesheet with no !important. Which color is applied?

#intro { color: red; }
p.note { color: blue; }
.note.note.note { color: green; }
p { color: black; }
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions