<p>Reset works!</p>
<div class="no-reset">
<p>dont reset!</p>
</div>
:not(".no-reset") p{
margin: 0;
color: red;
}
I tried with
I tried the above approach, not working for me.
I tried with this as well
*:not(".no-reset") p{
margin: 0;
color: red;
}
no luck !!
I just wanted to apply some styles under the "no-reset" child
here is link