JSFiddle - React, Tailwind, and code Playground
by arunberti
HTML
<ul class="nav">
<li><a href="#a" class="active">A</a></li>
<li><a href="#b" >B</a></li>
<li><a href="#c" >C</a></li>
<li><a href="#d" >D</a></li>
</ul>
CSS
a:visited
{
color:green;
}
a:active {color:yellow;}
a:link {color:red;}