Proposal to replace the existing navbar with something simpler and more customizable.
The navbar is a simple wrapper for positioning branding, navigation, and other elements. It's easily extensible and with the help of our collapse plugin it can easily integrate offscreen content.
### Basics
Here's what you need to know before getting started with the navbar:
- Navbars require a wrapping `.navbar` and either a color scheme class or custom styles.
- When using multiple components in a navbar, some [alignment classes](#alignment) are required.
- Navbars and their contents are fluid by default. Use [optional containers](#containers) to limit their horizontal width.
### Branding
Name your company, product, or project with `.navbar-brand`.
{% example html %}
<divclass="navbar navbar-default">
<divclass="navbar navbar-default">
<h3class="navbar-brand pull-left">
<h3class="navbar-brand">
<ahref="#">Navbar</a>
<ahref="#">Navbar</a>
</h3>
</h3>
</div>
</div>
{% endexample %}
### Navigation
Use `.nav-pills` within a navbar for basic navigation.
{% example html %}
<divclass="navbar navbar-default">
<divclass="navbar navbar-default">
<h3class="navbar-brand pull-left">
<ulclass="nav nav-pills">
<ahref="#">Navbar</a>
</h3>
<ulclass="nav nav-pills pull-left">
<liclass="nav-item active">
<liclass="nav-item active">
<aclass="nav-link"href="#">Home</a>
<aclass="nav-link"href="#">Home</a>
</li>
</li>
...
@@ -30,7 +46,50 @@ Proposal to replace the existing navbar with something simpler and more customiz
...
@@ -30,7 +46,50 @@ Proposal to replace the existing navbar with something simpler and more customiz
</li>
</li>
</ul>
</ul>
</div>
</div>
{% endexample %}
### Inline forms
Add an `.inline-form` within the navbar with nearly any combination of form controls and buttons.