JSFiddle - React, Tailwind, and code Playground

by Daniel Tan

HTML

<a href="#">test</a>
<a href="#" class="active">test</a>
<a href="#">test</a>

CSS

a:not(.active) { background:red }
a.active + a { background:yellow }