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>
JavaScript
jQuery('div:not(.separate)').css({
'background': 'red'
});