Difference between revisions of "Bootstrap navigation bar"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) |
||
Line 31: | Line 31: | ||
* [[Bootstrap (framework)]] | * [[Bootstrap (framework)]] | ||
* [[Navigation bar]] | * [[Navigation bar]] | ||
+ | |||
+ | == External links == | ||
+ | |||
+ | === General == | ||
+ | |||
+ | * [http://getbootstrap.com/examples/starter-template/ Starter template] @ getbootstrap.com | ||
+ | * [http://getbootstrap.com/components/#navbar Navbar component] @ getbootstrap.com | ||
+ | * [http://work.smarchal.com/twbscolor/css/e74c3cc0392becf0f1ffbbbc0 Gerate your own Bootstrap navbar] @ smarchal.com | ||
+ | |||
+ | === code.karljones.com == | ||
+ | |||
+ | * [http://code.karljones.com/bootstrap-examples Bootstrap examples] | ||
+ | |||
+ | |||
[[Category:Bootstrap (framework)]] | [[Category:Bootstrap (framework)]] | ||
[[Category:Web design]] | [[Category:Web design]] | ||
[[Category:Web design and development]] | [[Category:Web design and development]] |
Revision as of 03:55, 3 May 2016
In Bootstrap (framework), the navigation bar provides a responsive navigational menu.
Contents
On wider screens, the navigation bar displays at full width.
On narrow screen (mobile phones), the hamburger menu displays instead.
Requires Bootstrap CSS and JavaScript
Using the Bootstrap navigation bar requires both Bootstrap CSS and Bootstrap JavaScript.
Example
Here is the HTML for a typical navigation bar:
<nav> <ul class="nav nav-pills pull-right"> <li role="presentation" class="active"><a href="#">Home</a></li> <li role="presentation"><a href="#">About</a></li> <li role="presentation"><a href="#">Contact</a></li> </ul> </nav>
See also
External links
= General
- Starter template @ getbootstrap.com
- Navbar component @ getbootstrap.com
- Gerate your own Bootstrap navbar @ smarchal.com