I don’t want css to be applied to a child element.
<div id="main">
<div id="child">
<div id="subchild">
<p> subchild </p>
</div>
<p> child </p>
</div>
</div>
I want to apply css to all divs except the subchild div and its children.
To do this, simply apply the CSS to all
divs and then reverse it for thesubchild: