0
.nav-tabs {
background-color: #ffff00;
}
.nav-tabs a {
color: red;
}
<ul>
<li role="presentation" class="active" ><a href="index.html">Home</a></li>
<li role="presentation"><a href="produto.html">Produtos</a></li>
<li role="presentation"><a href="sobre.html">Sobre</a></li>
<li role="presentation"><a href="contato.html">Contato</a></li>
</ul>
good at first if you need to edit and put the rest of css and html...
– MagicHat
You can use
@media queries
to define a specific css only for certain devices, or certain resolution. Learn More– Leonardo Rodrigues
You have defined the width of the element?
– Kirk