I have this simple div with a label in:
- <div id="TestDiv">
-
<label>TEST CSS</label>
-
</div>
I am applying the following CSS:
- div#TestDiv *
-
-
{
-
color:Blue;
-
}
-
-
div#TestDiv
-
{
-
color:Red;
-
}
Now as I understand it the universal selector has a specificity of 0,0,0,0, so this means that both of these items have the same specificity. Therefore I would expect the label to be red as that comes afterwards in the stylesheet. So why is the label shown as blue for me?