I am trying to create a Navigation bar using Bootstrap 3. Looks like there are a lot of changes in the new version and lot of classes are missing.
Previously i had something like the following and am trying to convert the same into the new version of Bootstrap.
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a href="" class="brand">Project Name</a>
<ul class="nav">
<li class="active"><a href="">Link 1</a></li>
<li><a href="">Link 2</a></li>
<li><a href="">Link 3</a></li>
<li class="divider-vertical"></li>
<li><a href="">Link 4</a></li>
<li class="divider-vertical"></li>
</ul>
<form action="" class="navbar-search pull-right">
<input type="text" placeholder="Search" class="search-query" />
</form>
<p class="navbar-text">This is a text.</p>
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">Show Content</a>
<div class="collapse nav-collapse">
<p class="navbar-text">This will be hidden.</p>
</div>
</div>
</div>
</div>
I am sepecifically interested in the Search Form structure where i used to add the class search-query
class to the input class.
Also do we still need to add the navbar-inner
since the example in the official site doesnt use it.