0
On monitor, works normal, but in mobile the Nav disappears. To test and see if it was not some script that was missing in my code, I downloaded an example of bootstrap with all the links a css e js certinho, I inserted the same code, and it worked on the pc, but in mobile also disappeared. So clearly it’s no dependency, but why does Nav-tabs go mobile and how to fix it? Can someone help me, please?
<nav class="navbar navbar-expand-md navbar-light bg-light rounded">
<div class="collapse navbar-collapse" id="navbarsExample09">
<ul class="nav nav-tabs mr-auto">
<li class="nav-item">
<a class="nav-link active" id="blog" href="#">Últimos Artigos</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">História</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">Geografia</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">Economia</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" id="videos" href="#">Vídeos</a>
</li>
</ul>
<form class="form-inline mt-2 mt-md-0">
<input type="text" class="form-control mr-sm-2" id="search" placeholder="Pesquise um artigo...">
<button class="btn btn-outline-secondary my-2 my-sm-0" type="submit">Procurar</button>
</form>
</div>
</nav>
That wasn’t even careless, man, I didn’t really know I would have this reaction in the mobile version, because insert the Nav in the navbar, the computer worked, the mobile he disappeared. Thanks for the help.
– Lucas
@Lucas then gets the hint there. Even save this link in your pages, it is very important to consult the documentation for this type of thing ;) Good studies
– hugocsl