JSFiddle - React, Tailwind, and code Playground

HTML

<div class="footer">
  <a href="#">a</a>
  b
</div>

CSS

.footer:not(a){
  color:rgba(0,0,0,0);
}