How do I prevent my generic * { ... }
style from overriding parent tag? In the below example, I would like the sssssssss
to be of the style text-huge
.text-huge {
font-size: 28px !important;
color: green !important;
}
* {
font-size: 12px;
font-family: Verdana;
color:red;
}
<form>
<div>
<p><span class="text-huge">line 1: aaaaaa<strong>sssssssss</strong>aaaaaaaa</span></p>
<p>line 2</p>
</div>
</form>
I expect the sssssssss
to be same font color and size as the rest of line 1