consider following mark-up:
<div>
Hey Senorita
</div>
<div class="alkaline">
Hey Alkaline
</div>
<div>
Hey Amour!
</div>
coupled with following CSS:
* {
color:pink;
}
div.alkaline {
color:grey;
}
div {
color:orange;
}
after saving the file I would expect text inside all of the <div>
to be orange
but it turns out like this:-
Someone please explain why isn't the css overwriting not happening in this case?