JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <a href="#">a link</a>
</div>
<div class="separate">
    <a href="#">a link</a>
</div>
<div>
    <a href="#">a link</a>
</div>

CSS

div:not(.separate){
    background:red;
}