CSS Specificity
Before jumping into the topic, let's see an example.
Can you guess the color of the paragraph?
/* CSS */
p{ color: green;}
p{ color: red;}
<!-- HTML -->
<p class="msg" id="intro">
Welcome to CSS specificity tutorial.
</p>
If you said RED, yes it's...
spanugan.hashnode.dev2 min read