I know there is a not operator in CSS that can be used at the root level. But can I apply CSS selector for child element not having a specific parent element ?
So I have a DOM structure as below;
<div>
<button value="applyCSSToThisBtn"/>
</div>
<div id="someId" class="someClass">
<button value="DONOTapplyCSSToThisBtn"/>
</div>
So basically I want to appy some CSS to the button (but only for that which does not have id="someId" as it's parent...Also button is not necessarily direct child)