JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#">Plain anchor</a>

<a class="test" href="#"><span>Test anchor</span></a>

CSS

.test {color: inherit;}