<div id="wrapper">
<p class="text"></p>
</div>
#wrapper {
color: green;
}
.text {
color: red;
}
#wrapper .text {
color: yellow;
}
html > body .text {
color: blue;
}
Jaki kolor będzie miał tekst w tagu p?
<div id="wrapper">
<p class="text"></p>
</div>
#wrapper {
color: green;
}
.text {
color: red;
}
#wrapper .text {
color: yellow;
}
html > body .text {
color: blue;
}
Jaki kolor będzie miał tekst w tagu p?