JSFiddle - React, Tailwind, and code Playground
HTML
<ul class="nav">
<li class="nav"><a href="index.html#equipamentos" title="Navegar para Eqipamentos">EQUIPAMENTOS</a></li>
<li class="nav"><a href="index.html#actividades" title="Navegar para actividades">ACTIVIDADES</a></li>
<li class="nav"><a href="index.html#duvidas" title="Navegar para dúvidas técnicas">DÚVIDAS
CSS
ul.nav{
font-family: globerthin, Verdana, Arial, Geneva, sans-serif;
list-style-type: none;
margin-top: 50px;
}
ul li.nav{
display: inline;
background-color: yellow;
color: black;
margin-left: 20px;
padding-left: 25px;
padding-top: 25px;
padding-right: 25px;
padding-bottom: 25px;
font-size: 125%;
font-weight: bold;
}
.nav a:link{
color: black;
text-decoration: none;
}
.nav a:visited {
color: black;
text-decoration: underline;
}
.nav a:hover{
background-color: #faf6eb;
text-decoration: none;
}
.nav a:active{
color: black;
text-decoration: underline;
}