JSFiddle - React, Tailwind, and code Playground

by Academia

HTML

<a href="#">Link</a>
<a href="#" class="first">Link</a>
<a href="#">Link</a>
<a href="#">Link</a>
<a href="#" class="second">Link</a>
<a href="#">Link</a>

CSS

a{
    color: red;
}

JavaScript

$('a:not(a.first):not(a.second)').css('color','blue');