I have this CSS rule:
* {
font-family: Tahoma;
}
I want to apply the rule to all elements except this div
, which is unique by class, and it's children:
<div class="angular-text-editor">
<p></p>
<p></p>
<p></p>
</div>
font-family for this div and it's children should be picked by the user, but now because of the * rule applied, the new selected font can not be applied to them, even with !important.
I want some css rule which ensures that the * rule will apply to all elements except this div and it's children.
I even tried using the :not
selector, but it was not helpful with the children.
thanks