2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								layout: default
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								title: Components
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								slug: components
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 07:17:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								lead: "Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more."
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								---
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Glyphicons
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "glyphicons"  class = "page-header" > Glyphicons< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h2  id = "glyphicons-glyphs" > Available glyphs< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Includes 200 glyphs in font format from the Glyphicon Halflings set. < a  href = "http://glyphicons.com/" > Glyphicons< / a >  Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you include a link back to < a  href = "http://glyphicons.com/" > Glyphicons< / a >  whenever possible.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-glyphicons" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "bs-glyphicons-list" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      {% for iconClassName in site.data.glyphicons %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "glyphicon {{ iconClassName }}" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "glyphicon-class" > glyphicon {{ iconClassName }}< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      {% endfor %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 15:36:51 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "glyphicons-how-to-use" > How to use< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Don't mix with other components< / h4 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 05:08:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < p > Icon classes cannot be directly combined with other components. They should not be used along with other classes on the same element. Instead, add a nested < code > < span> < / code >  and apply the icon classes to the < code > < span> < / code > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 16:23:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< span  class = "glyphicon glyphicon-search" > < / span >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 15:36:51 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "glyphicons-examples" > Examples< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > < span  class = "glyphicon glyphicon-align-left" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > < span  class = "glyphicon glyphicon-align-center" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > < span  class = "glyphicon glyphicon-align-right" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > < span  class = "glyphicon glyphicon-align-justify" > < / span > < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 15:36:51 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default btn-lg" > < span  class = "glyphicon glyphicon-star" > < / span >  Star< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > < span  class = "glyphicon glyphicon-star" > < / span >  Star< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default btn-sm" > < span  class = "glyphicon glyphicon-star" > < / span >  Star< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default btn-xs" > < span  class = "glyphicon glyphicon-star" > < / span >  Star< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 16:23:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< button  type = "button"  class = "btn btn-default btn-lg" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "glyphicon glyphicon-star" > < / span >  Star
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 23:02:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / button >  
						 
					
						
							
								
									
										
										
										
											2013-08-18 16:23:45 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-18 15:36:51 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Dropdowns
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "dropdowns"  class = "page-header" > Dropdowns< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Toggleable, contextual menu for displaying lists of links. Made interactive with the < a  href = "../javascript/#dropdowns" > dropdown JavaScript plugin< / a > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "dropdowns-example" > Example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Wrap the dropdown's trigger and the dropdown menu within < code > .dropdown< / code > , or another element that declares < code > position: relative;< / code > . Then add the menu's HTML.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "dropdown clearfix" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  class = "btn dropdown-toggle sr-only"  type = "button"  id = "dropdownMenu1"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "dropdownMenu1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation"  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "dropdown" >  
						 
					
						
							
								
									
										
										
										
											2013-08-25 02:46:24 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < button  class = "btn dropdown-toggle sr-only"  type = "button"  id = "dropdownMenu1"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 10:45:13 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "dropdownMenu1" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 09:09:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  role = "presentation"  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "dropdowns-alignment" > Alignment< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. Add < code > .dropdown-menu-right< / code >  to a < code > .dropdown-menu< / code >  to right align the dropdown menu.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > May require additional positioning< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Dropdowns are automatically positioned via CSS within the normal flow of the document. This means dropdowns may be cropped by parents with certain < code > overflow< / code >  properties or appear out of bounds of the viewport. Address these issues on your own as they arise.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Deprecated < code > .pull-right< / code >  alignment< / h4 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-27 09:48:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < p > As of v3.1.0, we've deprecated < code > .pull-right< / code >  on dropdown menus. To right-align a menu, use < code > .dropdown-menu-right< / code > . Right-aligned nav components in the navbar use a mixin version of this class to automatically align the menu. To override it, use < code > .dropdown-menu-left< / code > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-12-15 05:22:56 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "dropdown-menu dropdown-menu-right"  role = "menu"  aria-labelledby = "dLabel" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
									
										
										
										
											2013-07-18 14:54:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "dropdowns-headers" > Headers< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add a header to label sections of actions in any dropdown menu.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "dropdown clearfix" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  class = "btn dropdown-toggle sr-only"  type = "button"  id = "dropdownMenu2"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "dropdownMenu2" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation"  class = "dropdown-header" > Dropdown header< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation"  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation"  class = "dropdown-header" > Dropdown header< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-18 14:54:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 10:45:13 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "dropdownMenu2" >  
						 
					
						
							
								
									
										
										
										
											2013-08-13 09:09:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li  role = "presentation"  class = "dropdown-header" > Dropdown header< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-18 14:54:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 09:09:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li  role = "presentation"  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  role = "presentation"  class = "dropdown-header" > Dropdown header< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-18 14:54:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "dropdowns-disabled" > Disabled menu items< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add < code > .disabled< / code >  to a < code > < li> < / code >  in the dropdown to disable the link.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "dropdown clearfix" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  class = "btn dropdown-toggle sr-only"  type = "button"  id = "dropdownMenu3"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "dropdownMenu3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Regular link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation"  class = "disabled" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Disabled link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Another link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 10:45:13 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "dropdownMenu3" >  
						 
					
						
							
								
									
										
										
										
											2013-08-13 09:09:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Regular link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  role = "presentation"  class = "disabled" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Disabled link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  role = "presentation" > < a  role = "menuitem"  tabindex = "-1"  href = "#" > Another link< / a > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Button Groups
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "btn-groups"  class = "page-header" > Button groups< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with < a  href = "../javascript/#buttons" > our buttons plugin< / a > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-06-26 11:18:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 05:08:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < h4 > Tooltips &  popovers in button groups require special setting< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > When using tooltips or popovers on elements within a < code > .btn-group< / code > , you'll have to specify the option < code > container: 'body'< / code >  to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "btn-groups-single" > Basic example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Wrap a series of buttons with < code > .btn< / code >  in < code > .btn-group< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group"  style = "margin: 9px 0 5px;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-groups-toolbar" > Button toolbar< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Combine sets of < code > < div class="btn-group"> < / code >  into a < code > < div class="btn-toolbar"> < / code >  for more complex components.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar"  style = "margin: 0;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 1< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 2< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 3< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 4< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 5< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 6< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 7< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > 8< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-20 21:07:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-toolbar"  role = "toolbar" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > ...< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > ...< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > ...< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-groups-sizing" > Sizing< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Instead of applying button sizing classes to every button in a group, just add < code > .btn-group-*< / code >  to the < code > .btn-group< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group btn-group-lg" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group btn-group-sm" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group btn-group-xs" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group btn-group-lg" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group btn-group-sm" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group btn-group-xs" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-groups-nested" > Nesting< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Place a < code > .btn-group< / code >  within another < code > .btn-group< / code >  when you want dropdown menus mixed with a series of buttons.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > 1< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > 2< / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  id = "btnGroupDrop1"  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "btnGroupDrop1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-04 14:34:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default" > 1< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default" > 2< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-groups-vertical" > Vertical variation< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Make a set of buttons appear vertically stacked rather than horizontally. < strong  class = "text-danger" > Split button dropdowns are not supported here.< / strong > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group-vertical" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Button< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Button< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  id = "btnGroupVerticalDrop1"  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "btnGroupVerticalDrop1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Button< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Button< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  id = "btnGroupVerticalDrop2"  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "btnGroupVerticalDrop2" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  id = "btnGroupVerticalDrop3"  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "btnGroupVerticalDrop3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  id = "btnGroupVerticalDrop4"  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu"  aria-labelledby = "btnGroupVerticalDrop4" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Dropdown link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-05-10 07:26:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< div  class = "btn-group-vertical" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-23 11:15:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-groups-justified" > Justified button groups< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Make a group of buttons stretch at equal sizes to span the entire width of its parent. Also works with button dropdowns within the button group.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-18 10:33:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Handling borders< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Due to the specific HTML and CSS used to justify buttons (namely < code > display: table-cell< / code > ), the borders between them are doubled. In regular button groups, < code > margin-left: -1px< / code >  is used to stack the borders instead of removing them. However, < code > margin< / code >  doesn't work with < code > display: table-cell< / code > . As a result, depending on your customizations to Bootstrap, you may wish to remove or re-color the borders.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-24 12:28:21 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-23 11:15:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h4 > With < code > < a> < / code >  elements< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Just wrap a series of < code > .btn< / code > s in < code > .btn-group.btn-group-justified< / code > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group btn-group-justified" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "btn btn-default"  role = "button" > Left< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "btn btn-default"  role = "button" > Middle< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "btn btn-default"  role = "button" > Right< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group btn-group-justified" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "btn btn-default"  role = "button" > Left< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "btn btn-default"  role = "button" > Middle< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-01 15:38:39 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group btn-group-justified" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2014-01-23 11:15:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h4 > With < code > < button> < / code >  elements< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > To use justified button groups with < code > < button> < / code >  elements, < strong  class = "text-danger" > you must wrap each button in a button group< / strong > . Most browsers don't properly apply our CSS for justification to < code > < button> < / code >  elements, but since we support button dropdowns, we can workaround that.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group btn-group-justified" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group btn-group-justified" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < button  type = "button"  class = "btn btn-default" > Left< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < button  type = "button"  class = "btn btn-default" > Middle< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < button  type = "button"  class = "btn btn-default" > Right< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Split button dropdowns
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "btn-dropdowns"  class = "page-header" > Button dropdowns< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Use any button to trigger a dropdown menu by placing it within a < code > .btn-group< / code >  and providing the proper menu markup.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Plugin dependency< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Button dropdowns require the < a  href = "../javascript/#dropdowns" > dropdown plugin< / a >  to be included in your version of Bootstrap.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-dropdowns-single" > Single button dropdowns< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Turn a button into a dropdown toggle with some basic markup changes.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > Default < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-primary dropdown-toggle"  data-toggle = "dropdown" > Primary < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-success dropdown-toggle"  data-toggle = "dropdown" > Success < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-info dropdown-toggle"  data-toggle = "dropdown" > Info < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-warning dropdown-toggle"  data-toggle = "dropdown" > Warning < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-danger dropdown-toggle"  data-toggle = "dropdown" > Danger < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  Single button  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Action < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "btn-dropdowns-split" > Split button dropdowns< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Similarly, create split button dropdowns with the same markup changes, only with a separate button.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default" > Default< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-primary" > Primary< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-primary dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-success" > Success< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-success dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-info" > Info< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-info dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-warning" > Warning< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-warning dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-danger" > Danger< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "btn btn-danger dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Split button  -->  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-danger" > Action< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-danger dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 06:48:29 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-dropdowns-sizing" > Sizing< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Button dropdowns work with buttons of all sizes.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < button  class = "btn btn-default btn-lg dropdown-toggle"  type = "button"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Large button < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-05 06:47:38 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 06:48:29 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > <!--  /btn - toolbar  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < button  class = "btn btn-default btn-sm dropdown-toggle"  type = "button"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Small button < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-05 06:47:38 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 06:48:29 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > <!--  /btn - toolbar  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < button  class = "btn btn-default btn-xs dropdown-toggle"  type = "button"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Extra small button < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-05 06:47:38 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 06:48:29 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:24:48 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > <!--  /btn - toolbar  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  Large button group  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:39:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < button  class = "btn btn-default btn-lg dropdown-toggle"  type = "button"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    Large button < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  Small button group  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:39:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < button  class = "btn btn-default btn-sm dropdown-toggle"  type = "button"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    Small button < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:59:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  Extra small button group  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  class = "btn btn-default btn-xs dropdown-toggle"  type = "button"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Extra small button < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "btn-dropdowns-dropup" > Dropup variation< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Trigger dropdown menus above elements by adding < code > .dropup< / code >  to the parent.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "btn-toolbar"  role = "toolbar" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group dropup" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default" > Dropup< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "btn-group dropup" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-primary" > Right dropup< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-primary dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu pull-right"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "btn-group dropup" >  
						 
					
						
							
								
									
										
										
										
											2013-05-16 01:01:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default" > Dropup< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-05 06:47:38 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  Dropdown menu links  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Input groups
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "input-groups"  class = "page-header" > Input groups< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Extend form controls by adding text or buttons before, after, or on both sides of any text-based input. Use < code > .input-group< / code >  with an < code > .input-group-addon< / code >  to prepend or append elements to a single < code > .form-control< / code > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Cross-browser compatibility< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Avoid using < code > < select> < / code >  elements here as they cannot be fully styled in WebKit browsers.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 09:07:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < h4 > Tooltips &  popovers in input groups require special setting< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > When using tooltips or popovers on elements within an < code > .input-group< / code > , you'll have to specify the option < code > container: 'body'< / code >  to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 09:07:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < h4 > Don't mix with other components< / h4 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 09:07:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < p > Do not mix form groups or grid column classes directly with input groups. Instead, nest the input group inside of the form group or grid-related element.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h2  id = "input-groups-basic" > Basic example< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Place one add-on or button on either side of an input. You may also place one on both sides of an input.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > < strong  class = "text-danger" > We do not support multiple add-ons on a single side.< / strong > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > < strong  class = "text-danger" > We do not support multiple form-controls in a single input group.< / strong > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < form  class = "bs-example bs-example-form"  role = "form" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > .00< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > $< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > .00< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-10-14 10:24:13 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / form > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > .00< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > $< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > .00< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "input-groups-sizing" > Sizing< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add the relative form sizing classes to the < code > .input-group< / code >   itself and contents within will automatically resize—no need for repeating the form control size classes on each element.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < form  class = "bs-example bs-example-form"  role = "form" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group input-group-lg" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group input-group-sm" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / form > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group input-group-lg" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-21 02:49:32 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 05:03:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group input-group-sm" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < span  class = "input-group-addon" > @< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control"  placeholder = "Username" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "input-groups-checkboxes-radios" > Checkboxes and radio addons< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Place any checkbox or radio option within an input group's addon instead of text.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < form  class = "bs-example bs-example-form" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "input-group-addon" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < input  type = "checkbox" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "input-group-addon" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < input  type = "radio" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /.row  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / form > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "row" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < input  type = "checkbox" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-addon" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < input  type = "radio" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div > <!--  /.row  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "input-groups-buttons" > Button addons< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Buttons in input groups are a bit different and require one extra level of nesting. Instead of < code > .input-group-addon< / code > , you'll need to use < code > .input-group-btn< / code >  to wrap the buttons. This is required due to default browser styles that cannot be overridden.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < form  class = "bs-example bs-example-form" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  class = "btn btn-default"  type = "button" > Go!< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  class = "btn btn-default"  type = "button" > Go!< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /.row  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / form > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "row" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  class = "btn btn-default"  type = "button" > Go!< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  class = "btn btn-default"  type = "button" > Go!< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div > <!--  /.row  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "input-groups-buttons-dropdowns" > Buttons with dropdowns< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < form  class = "bs-example bs-example-form"  role = "form" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > Action < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > Action < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < ul  class = "dropdown-menu pull-right"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /.row  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / form > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "row" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > Action < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown" > Action < span  class = "caret" > < / span > < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu pull-right" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /btn - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div > <!--  /.row  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "input-groups-buttons-segmented" > Segmented buttons< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < form  class = "bs-example bs-example-form"  role = "form" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "button"  class = "btn btn-default"  tabindex = "-1" > Action< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown"  tabindex = "-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-lg-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "input-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "button"  class = "btn btn-default"  tabindex = "-1" > Action< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "button"  class = "btn btn-default dropdown-toggle"  data-toggle = "dropdown"  tabindex = "-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < span  class = "sr-only" > Toggle Dropdown< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < ul  class = "dropdown-menu pull-right"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.input - group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.col - lg - 6  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /.row  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / form > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  Button and dropdown menu  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "input-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  class = "form-control" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-22 04:31:17 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "input-group-btn" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    <!--  Button and dropdown menu  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2013-07-31 18:57:39 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-07-28 09:56:31 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Navs
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "nav"  class = "page-header" > Navs< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Navs available in Bootstrap have shared markup, starting with the base < code > .nav< / code >  class, as well as shared states. Swap modifier classes to switch between each style.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "nav-tabs" > Tabs< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Note the < code > .nav-tabs< / code >  class requires the < code > .nav< / code >  base class.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-tabs" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-tabs" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Requires JavaScript tabs plugin< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > For tabs with tabbable areas, you must use the < a  href = "../javascript/#tabs" > tabs JavaScript plugin< / a > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "nav-pills" > Pills< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Take that same HTML, but use < code > .nav-pills< / code >  instead:< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-pills" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > Pills are also vertically stackable. Just add < code > .nav-stacked< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills nav-stacked"  style = "max-width: 300px;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-pills nav-stacked" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "nav-justified" > Justified< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Easily make tabs or pills equal widths of their parent at screens wider than 768px with < code > .nav-justified< / code > . On smaller screens, the nav links are stacked.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Safari and responsive justified navs< / h4 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-02-03 18:38:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < p > As of v7.0.1, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing. This bug is also shown in the < a  href = "../examples/justified-nav/" > justified nav example< / a > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-tabs nav-justified" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills nav-justified" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Messages< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-tabs nav-justified" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-pills nav-justified" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 04:30:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "nav-disabled-links" > Disabled links< / h2 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-23 00:00:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > For any nav component (tabs or pills), add < code > .disabled< / code >  for < strong > gray links and no hover effects< / strong > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Link functionality not impacted< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > This class will only change the < code > < a> < / code > 's appearance, not its functionality. Use custom JavaScript to disable links here.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Clickable link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Clickable link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "disabled" > < a  href = "#" > Disabled link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-06-26 20:27:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< ul  class = "nav nav-pills" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "disabled" > < a  href = "#" > Disabled link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "nav-dropdowns" > Using dropdowns< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add dropdown menus with a little extra HTML and the < a  href = "../javascript/#dropdowns" > dropdowns JavaScript plugin< / a > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Tabs with dropdowns< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-tabs" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Help< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  class = "dropdown-toggle"  data-toggle = "dropdown"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-tabs" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < a  class = "dropdown-toggle"  data-toggle = "dropdown"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Dropdown < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Pills with dropdowns< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Help< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  class = "dropdown-toggle"  data-toggle = "dropdown"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Dropdown < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-pills" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < a  class = "dropdown-toggle"  data-toggle = "dropdown"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Dropdown < span  class = "caret" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Navbar
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "navbar"  class = "page-header" > Navbar< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-default" > Default navbar< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Navbars are responsive meta components that serve as navigation headers for your application or site. They begin collapsed (and are toggleable) in mobile views and become horizontal as the available viewport width increases.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-21 07:02:48 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning"  id = "callout-navbar-overflow" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-21 06:51:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < h4 > Overflowing content< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Since Bootstrap doesn't know how much space the content in your navbar needs, you might run into issues with content wrapping into a second row. To resolve this, you can:< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ol  type = "a" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > Reduce the amount or width of navbar items.< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-21 07:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < li > Hide certain navbar items at certain screen sizes using < a  href = "../css/#responsive-utilities" > responsive utility classes< / a > .< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-21 06:51:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < li > Change the point at which your navbar switches between collapsed and horizontal mode. Customize the < code > @grid-float-breakpoint< / code >  variable or add your own media query.< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-21 07:00:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / ol > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Requires JavaScript< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, it will be impossible to expand the navbar and view the content within the < code > .navbar-collapse< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-15 13:48:04 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <!--  Brand and toggle get grouped for better mobile display  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <!--  Collect the nav links, forms, and other content for toggling  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "nav navbar-nav" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "active" > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < a  href = "#"  class = "dropdown-toggle"  data-toggle = "dropdown" > Dropdown < b  class = "caret" > < / b > < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > One more separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < form  class = "navbar-form navbar-left"  role = "search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < div  class = "form-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < input  type = "text"  class = "form-control"  placeholder = "Search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "submit"  class = "btn btn-default" > Submit< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / form > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "nav navbar-nav navbar-right" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < a  href = "#"  class = "dropdown-toggle"  data-toggle = "dropdown" > Dropdown < b  class = "caret" > < / b > < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < ul  class = "dropdown-menu"  role = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.navbar - collapse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.container - fluid  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 05:05:56 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< nav  class = "navbar navbar-default"  role = "navigation" >  
						 
					
						
							
								
									
										
										
										
											2014-01-06 04:55:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  Brand and toggle get grouped for better mobile display  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-06 04:55:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Collect the nav links, forms, and other content for toggling  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-1" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "nav navbar-nav" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "active" > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  href = "#"  class = "dropdown-toggle"  data-toggle = "dropdown" > Dropdown < b  class = "caret" > < / b > < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > One more separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < form  class = "navbar-form navbar-left"  role = "search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "form-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < input  type = "text"  class = "form-control"  placeholder = "Search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  type = "submit"  class = "btn btn-default" > Submit< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / form > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "nav navbar-nav navbar-right" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "dropdown" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  href = "#"  class = "dropdown-toggle"  data-toggle = "dropdown" > Dropdown < b  class = "caret" > < / b > < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "dropdown-menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Another action< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Something else here< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "divider" > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Separated link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > <!--  /.navbar - collapse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.container - fluid  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-11 10:33:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / nav >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Plugin dependency< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > The responsive navbar requires the < a  href = "../javascript/#collapse" > collapse plugin< / a >  to be included in your version of Bootstrap.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Make navbars accessible< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Be sure to add a < code > role="navigation"< / code >  to every navbar to help with accessibility.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-forms" > Forms< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Place form content within < code > .navbar-form< / code >  for proper vertical alignment and collapsed behavior in narrow viewports. Use the alignment options to decide where it resides within the navbar content.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > As a heads up, < code > .navbar-form< / code >  shares much of its code with < code > .form-inline< / code >  via mixin. < strong  class = "text-danger" > Some form controls, like input groups, may require fixed widths to be show up properly within a navbar.< / strong > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-2" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-27 23:34:17 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-2" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < form  class = "navbar-form navbar-left"  role = "search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < div  class = "form-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < input  type = "text"  class = "form-control"  placeholder = "Search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < button  type = "submit"  class = "btn btn-default" > Submit< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / form > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-27 23:34:17 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< form  class = "navbar-form navbar-left"  role = "search" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "form-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < input  type = "text"  class = "form-control"  placeholder = "Search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < button  type = "submit"  class = "btn btn-default" > Submit< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / form >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Mobile device caveats< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > There are some caveats regarding using form controls within fixed elements on mobile devices. < a  href = "../getting-started/#support-fixed-position-keyboards" > See our browser support docs< / a >  for details.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-16 04:27:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-16 05:08:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < h4 > Always add labels< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the < code > .sr-only< / code >  class.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-12 13:58:07 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-27 23:34:17 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-buttons" > Buttons< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add the < code > .navbar-btn< / code >  class to < code > < button> < / code >  elements not residing in a < code > < form> < / code >  to vertically center them in the navbar.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "btn btn-default navbar-btn" > Sign in< / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-13 07:34:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< button  type = "button"  class = "btn btn-default navbar-btn" > Sign in< / button >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Context-specific usage< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Like the standard < a  href = "../css/#buttons" > button classes< / a > , < code > .navbar-btn< / code >  can be used on < code > < a> < / code >  and < code > < input> < / code >  elements. However, neither < code > .navbar-btn< / code >  nor the standard button classes should be used on < code > < a> < / code >  elements within < code > .navbar-nav< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 04:30:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-text" > Text< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Wrap strings of text in an element with < code > .navbar-text< / code > , usually on a < code > < p> < / code >  tag for proper leading and color.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-4" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-4" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < p  class = "navbar-text" > Signed in as Mark Otto< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-13 07:34:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< p  class = "navbar-text" > Signed in as Mark Otto< / p >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 04:30:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-links" > Non-nav links< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > For folks using standard links that are not within the regular navbar navigation component, use the < code > .navbar-link< / code >  class to add the proper colors for the default and inverse navbar options.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < p  class = "navbar-text navbar-right" > Signed in as < a  href = "#"  class = "navbar-link" > Mark Otto< / a > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-13 07:34:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-11-07 02:30:39 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< p  class = "navbar-text navbar-right" > Signed in as < a  href = "#"  class = "navbar-link" > Mark Otto< / a > < / p >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 04:30:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-component-alignment" > Component alignment< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Align nav links, forms, buttons, or text, using the < code > .navbar-left< / code >  or < code > .navbar-right< / code >  utility classes. Both classes will add a CSS float in the specified direction. For example, to align nav links, put them in a separate < code > < ul> < / code >  with the respective utility class applied.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > These classes are mixin-ed versions of < code > .pull-left< / code >  and < code > .pull-right< / code > , but they're scoped to media queries for easier handling of navbar components across device sizes.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-03-10 05:49:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Right aligning multiple components< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Navbars currently have a limitation with multiple < code > .navbar-right< / code >  classes. To properly space content, we use negative margin on the last < code > .navbar-right< / code >  element. When there are multiple elements using that class, these margins don't work as intended.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > We'll revisit this when we can rewrite that component in v4.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-fixed-top" > Fixed to top< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add < code > .navbar-fixed-top< / code >  and include a < code > .container< / code >  or < code > .container-fluid< / code >  to center and pad navbar content.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example bs-navbar-top-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default navbar-fixed-top"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns.  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "nav navbar-nav" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.navbar - collapse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 05:05:56 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< nav  class = "navbar navbar-default navbar-fixed-top"  role = "navigation" >  
						 
					
						
							
								
									
										
										
										
											2013-12-16 05:44:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "container" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-11 10:33:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / nav >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Body padding required< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > The fixed navbar will overlay your other content, unless you add < code > padding< / code >  to the top of the < code > < body> < / code > . Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-02-01 05:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight scss %}
							 
						 
					
						
							
								
									
										
										
										
											2013-05-15 04:31:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								body { padding-top: 70px; }
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < p > Make sure to include this < strong > after< / strong >  the core Bootstrap CSS.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 04:30:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-12-16 05:44:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-fixed-bottom" > Fixed to bottom< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add < code > .navbar-fixed-bottom< / code >  and include a < code > .container< / code >  or < code > .container-fluid< / code >  to center and pad navbar content.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example bs-navbar-bottom-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default navbar-fixed-bottom"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns.  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-7" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-7" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "nav navbar-nav" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.navbar - collapse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 05:05:56 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< nav  class = "navbar navbar-default navbar-fixed-bottom"  role = "navigation" >  
						 
					
						
							
								
									
										
										
										
											2013-12-16 05:44:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "container" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-11 10:33:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / nav >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Body padding required< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > The fixed navbar will overlay your other content, unless you add < code > padding< / code >  to the bottom of the < code > < body> < / code > . Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-02-01 05:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight scss %}
							 
						 
					
						
							
								
									
										
										
										
											2013-05-15 04:31:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								body { padding-bottom: 70px; }
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < p > Make sure to include this < strong > after< / strong >  the core Bootstrap CSS.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 04:30:33 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-12-16 05:44:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-static-top" > Static top< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Create a full-width navbar that scrolls away with the page by adding < code > .navbar-static-top< / code >  and include a < code > .container< / code >  or < code > .container-fluid< / code >  to center and pad navbar content.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Unlike the < code > .navbar-fixed-*< / code >  classes, you do not need to change any padding on the < code > body< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example bs-navbar-top-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-default navbar-static-top"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns.  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-8" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <!--  Collect the nav links, forms, and other content for toggling  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-8" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "nav navbar-nav" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.navbar - collapse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 05:05:56 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< nav  class = "navbar navbar-default navbar-static-top"  role = "navigation" >  
						 
					
						
							
								
									
										
										
										
											2013-12-16 05:44:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "container" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-11 10:33:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / nav >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "navbar-inverted" > Inverted navbar< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Modify the look of the navbar by adding < code > .navbar-inverse< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < nav  class = "navbar navbar-inverse"  role = "navigation" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "container-fluid" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <!--  Brand and toggle get grouped for better mobile display  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "navbar-header" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < button  type = "button"  class = "navbar-toggle"  data-toggle = "collapse"  data-target = "#bs-example-navbar-collapse-9" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "sr-only" > Toggle navigation< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < span  class = "icon-bar" > < / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "navbar-brand"  href = "#" > Brand< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 12:23:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <!--  Collect the nav links, forms, and other content for toggling  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "collapse navbar-collapse"  id = "bs-example-navbar-collapse-9" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < ul  class = "nav navbar-nav" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li  class = "active" > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < li > < a  href = "#" > Link< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > <!--  /.navbar - collapse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > <!--  /.container - fluid  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / nav > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-11 10:33:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< nav  class = "navbar navbar-inverse"  role = "navigation" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
									
										
										
										
											2013-08-11 10:33:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / nav >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Breadcrumbs
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "breadcrumbs"  class = "page-header" > Breadcrumbs< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p  class = "lead" > Indicate the current page's location within a navigational hierarchy.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Separators are automatically added in CSS through < code > :before< / code >  and < code > content< / code > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ol  class = "breadcrumb" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > Home< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ol > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ol  class = "breadcrumb" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > Library< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ol > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ol  class = "breadcrumb"  style = "margin-bottom: 5px;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Library< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > Data< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ol > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-14 21:16:30 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ol  class = "breadcrumb" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Home< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Library< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "active" > Data< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-14 21:16:30 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / ol >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Pagination
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "pagination"  class = "page-header" > Pagination< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Provide pagination links for your site or app with the multi-page pagination component, or the simpler < a  href = "#pagination-pager" > pager alternative< / a > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h2  id = "pagination-default" > Default pagination< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "pagination" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 4< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 5< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > » < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "pagination" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > 4< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > 5< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > » < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Disabled and active states< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Links are customizable for different circumstances. Use < code > .disabled< / code >  for unclickable links and < code > .active< / code >  to indicate the current page.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "pagination" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "disabled" > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > 1 < span  class = "sr-only" > (current)< / span > < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 4< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > 5< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > » < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "pagination" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "disabled" > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li  class = "active" > < a  href = "#" > 1 < span  class = "sr-only" > (current)< / span > < / a > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > You can optionally swap out active or disabled anchors for < code > < span> < / code >  to remove click functionality while retaining intended styles.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "pagination" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "disabled" > < span > « < / span > < / li > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li  class = "active" > < span > 1 < span  class = "sr-only" > (current)< / span > < / span > < / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Sizing< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Fancy larger or smaller pagination? Add < code > .pagination-lg< / code >  or < code > .pagination-sm< / code >  for additional sizes.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "pagination pagination-lg" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 4< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 5< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > » < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "pagination" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 4< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 5< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > » < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "pagination pagination-sm" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > « < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 1< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 2< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 3< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 4< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > 5< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li > < a  href = "#" > » < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:39:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "pagination pagination-lg" > ...< / ul >  
						 
					
						
							
								
									
										
										
										
											2013-08-06 11:19:07 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "pagination" > ...< / ul >  
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:39:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "pagination pagination-sm" > ...< / ul >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "pagination-pager" > Pager< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Default example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > By default, the pager centers links.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "pager" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Previous< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Next< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "pager" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Previous< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li > < a  href = "#" > Next< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Aligned links< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Alternatively, you can align each link to the sides:< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "pager" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "previous" > < a  href = "#" > ←  Older< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "next" > < a  href = "#" > Newer → < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "pager" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "previous" > < a  href = "#" > ←  Older< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "next" > < a  href = "#" > Newer → < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Optional disabled state< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Pager links also use the general < code > .disabled< / code >  utility class from the pagination.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "pager" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "previous disabled" > < a  href = "#" > ←  Older< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "next" > < a  href = "#" > Newer → < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "pager" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "previous disabled" > < a  href = "#" > ←  Older< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "next" > < a  href = "#" > Newer → < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Labels
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "labels"  class = "page-header" > Labels< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h1 > Example heading < span  class = "label label-default" > New< / span > < / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h2 > Example heading < span  class = "label label-default" > New< / span > < / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h3 > Example heading < span  class = "label label-default" > New< / span > < / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Example heading < span  class = "label label-default" > New< / span > < / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h5 > Example heading < span  class = "label label-default" > New< / span > < / h5 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h6 > Example heading < span  class = "label label-default" > New< / span > < / h6 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-06 06:30:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< h3 > Example heading < span  class = "label label-default" > New< / span > < / h3 >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Available variations< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add any of the below mentioned modifier classes to change the appearance of a label.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "label label-default" > Default< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "label label-primary" > Primary< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "label label-success" > Success< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "label label-info" > Info< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "label label-warning" > Warning< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "label label-danger" > Danger< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-06 06:30:28 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< span  class = "label label-default" > Default< / span >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 02:31:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< span  class = "label label-primary" > Primary< / span >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< span  class = "label label-success" > Success< / span >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 02:31:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< span  class = "label label-info" > Info< / span >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< span  class = "label label-warning" > Warning< / span >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< span  class = "label label-danger" > Danger< / span >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Badges
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "badges"  class = "page-header" > Badges< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Easily highlight new or unread items by adding a < code > < span class="badge"> < / code >  to links, Bootstrap navs, and more.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < a  href = "#" > Inbox < span  class = "badge" > 42< / span > < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#" > Inbox < span  class = "badge" > 42< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h4 > Self collapsing< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > When there are no new or unread items, badges will simply collapse (via CSS's < code > :empty< / code >  selector) provided no content exists within.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Cross-browser compatibility< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Badges won't self collapse in Internet Explorer 8 because it lacks support for the < code > :empty< / code >  selector.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h4 > Adapts to active nav states< / h4 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-23 02:04:19 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > Built-in styles are included for placing badges in active states in pill navigations.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > < a  href = "#" > Home < span  class = "badge" > 42< / span > < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Messages < span  class = "badge" > 3< / span > < / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "nav nav-pills nav-stacked"  style = "max-width: 260px;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "badge pull-right" > 42< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Home
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "#" > Profile< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < span  class = "badge pull-right" > 3< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Messages
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < button  class = "btn btn-primary"  type = "button" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Messages < span  class = "badge" > 4< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "nav nav-pills nav-stacked" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < a  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < span  class = "badge pull-right" > 42< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Home
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Jumbotron
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "jumbotron"  class = "page-header" > Jumbotron< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "jumbotron" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < h1 > Hello, world!< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < p > This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < p > < a  class = "btn btn-primary btn-lg"  role = "button" > Learn more< / a > < / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-10-16 05:11:21 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "jumbotron" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1 > Hello, world!< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > ...< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > < a  class = "btn btn-primary btn-lg"  role = "button" > Learn more< / a > < / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > To make the jumbotron full width, and without rounded corners, place it outside all < code > .container< / code > s and instead add a < code > .container< / code >  within.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-10-16 05:11:21 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "jumbotron" >  
						 
					
						
							
								
									
										
										
										
											2013-08-18 11:33:52 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "container" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-10-16 05:11:21 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
									
										
										
										
											2013-08-18 11:33:52 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-10-16 05:11:21 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 03:43:54 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Page header
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "page-header"  class = "page-header" > Page header< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > A simple shell for an < code > h1< / code >  to appropriately space out and segment sections of content on a page. It can utilize the < code > h1< / code > 's default < code > small< / code >  element, as well as most other components (with additional styles).< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-17 03:43:54 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < div  class = "page-header" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < h1 > Example page header < small > Subtext for header< / small > < / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "page-header" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1 > Example page header < small > Subtext for header< / small > < / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  Thumbnails
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "thumbnails"  class = "page-header" > Thumbnails< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p  class = "lead" > Extend Bootstrap's < a  href = "../css/#grid" > grid system< / a >  with the thumbnail component to easily display grids of images, videos, text, and more.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "thumbnails-default" > Default example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-xs-6 col-md-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "#"  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/100%x180"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-xs-6 col-md-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "#"  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/100%x180"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-xs-6 col-md-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "#"  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/100%x180"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-xs-6 col-md-3" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "#"  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/100%x180"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.bs - example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "row" >  
						 
					
						
							
								
									
										
										
										
											2013-11-30 13:08:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-xs-6 col-md-3" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < a  href = "#"  class = "thumbnail" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 07:00:51 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < img  data-src = "holder.js/100%x180"  alt = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "thumbnails-custom-content" > Custom content< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-sm-6 col-md-4" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/300x200"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "caption" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < h3 > Thumbnail label< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < p > Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < p > < a  href = "#"  class = "btn btn-primary"  role = "button" > Button< / a >  < a  href = "#"  class = "btn btn-default"  role = "button" > Button< / a > < / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-sm-6 col-md-4" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/300x200"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "caption" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < h3 > Thumbnail label< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < p > Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < p > < a  href = "#"  class = "btn btn-primary"  role = "button" > Button< / a >  < a  href = "#"  class = "btn btn-default"  role = "button" > Button< / a > < / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-sm-6 col-md-4" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  data-src = "holder.js/300x200"  alt = "Generic placeholder thumbnail" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "caption" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < h3 > Thumbnail label< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < p > Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < p > < a  href = "#"  class = "btn btn-primary"  role = "button" > Button< / a >  < a  href = "#"  class = "btn btn-default"  role = "button" > Button< / a > < / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.bs - example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "row" >  
						 
					
						
							
								
									
										
										
										
											2013-08-27 08:47:56 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "col-sm-6 col-md-4" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < div  class = "thumbnail" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 10:29:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < img  data-src = "holder.js/300x200"  alt = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < div  class = "caption" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3 > Thumbnail label< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < p > ...< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-24 23:16:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < p > < a  href = "#"  class = "btn btn-primary"  role = "button" > Button< / a >  < a  href = "#"  class = "btn btn-default"  role = "button" > Button< / a > < / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Alerts
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "alerts"  class = "page-header" > Alerts< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. For inline dismissal, use the < a  href = "../javascript/#alerts" > alerts jQuery plugin< / a > .< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "alerts-examples" > Examples< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Wrap any text and an optional dismiss button in < code > .alert< / code >  and one of the four contextual classes (e.g., < code > .alert-success< / code > ) for basic alert messages.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-06-26 21:59:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > No default class< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-success" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Well done!< / strong >  You successfully read this important alert message.
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < div  class = "alert alert-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Heads up!< / strong >  This alert needs your attention, but it's not super important.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Warning!< / strong >  Better check yourself, you're not looking too good.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Oh snap!< / strong >  Change a few things up and try submitting again.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-success" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-info" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-19 10:50:53 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-warning" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:51 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-danger" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-17 11:53:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "alerts-dismissable" > Dismissable alerts< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Build on any alert by adding an optional < code > .alert-dismissable< / code >  and close button.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-warning alert-dismissable" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < button  type = "button"  class = "close"  data-dismiss = "alert"  aria-hidden = "true" > × < / button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Warning!< / strong >  Better check yourself, you're not looking too good.
							 
						 
					
						
							
								
									
										
										
										
											2013-08-12 16:20:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-12 16:20:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-29 05:57:41 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-warning alert-dismissable" >  
						 
					
						
							
								
									
										
										
										
											2013-08-12 23:55:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < button  type = "button"  class = "close"  data-dismiss = "alert"  aria-hidden = "true" > × < / button > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-27 11:37:19 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < strong > Warning!< / strong >  Better check yourself, you're not looking too good.
							 
						 
					
						
							
								
									
										
										
										
											2013-08-12 16:20:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Ensure proper behavior across all devices< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Be sure to use the < code > < button> < / code >  element with the < code > data-dismiss="alert"< / code >  data attribute.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-12 16:20:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h2  id = "alerts-links" > Links in alerts< / h2 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Use the < code > .alert-link< / code >  utility class to quickly provide matching colored links within any alert.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-success" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Well done!< / strong >  You successfully read < a  href = "#"  class = "alert-link" > this important alert message< / a > .
							 
						 
					
						
							
								
									
										
										
										
											2013-05-17 11:53:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < div  class = "alert alert-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Heads up!< / strong >  This < a  href = "#"  class = "alert-link" > alert needs your attention< / a > , but it's not super important.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Warning!< / strong >  Better check yourself, you're < a  href = "#"  class = "alert-link" > not looking too good< / a > .
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "alert alert-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < strong > Oh snap!< / strong >  < a  href = "#"  class = "alert-link" > Change a few things up< / a >  and try submitting again.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-17 11:53:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-success" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "alert-link" > ...< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-info" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "alert-link" > ...< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:38:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-warning" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "alert-link" > ...< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "alert alert-danger" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "alert-link" > ...< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Progress bars
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "progress"  class = "page-header" > Progress bars< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-callout bs-callout-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4 > Cross-browser compatibility< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Progress bars use CSS3 transitions and animations to achieve some of their effects. These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "progress-basic" > Basic example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Default progress bar.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 60% Complete< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:41:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 60% Complete< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2014-02-07 17:16:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "progress-label" > With label< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Remove the < code > .sr-only< / code >  class from within the progress bar to show a visible percentage. For low percentages, consider adding a < code > min-width< / code >  to ensure the label's text is fully visible.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        60%
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%;" > 
							 
						 
					
						
							
								
									
										
										
										
											2014-02-07 17:31:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    60%
							 
						 
					
						
							
								
									
										
										
										
											2014-02-07 17:16:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-03-05 08:55:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "progress-low-percentages" > Low percentages< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Progress bars representing low single digit percentages, as well as 0%, include a < code > min-width: 20px;< / code >  for legibility.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "0"  aria-valuemin = "0"  aria-valuemax = "100" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        0%
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "2"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 2%;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        2%
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "0"  aria-valuemin = "0"  aria-valuemax = "100" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    0%
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "2"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 2%;" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    2%
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "progress-alternatives" > Contextual alternatives< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Progress bars use some of the same button and alert classes for consistent styles.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-success"  role = "progressbar"  aria-valuenow = "40"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 40%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 40% Complete (success)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-info"  role = "progressbar"  aria-valuenow = "20"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 20%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 20% Complete< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-warning"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 60% Complete (warning)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-danger"  role = "progressbar"  aria-valuenow = "80"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 80%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 80% Complete (danger)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-success"  role = "progressbar"  aria-valuenow = "40"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 40%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 40% Complete (success)< / span > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-info"  role = "progressbar"  aria-valuenow = "20"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 20%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 20% Complete< / span > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-warning"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 60% Complete (warning)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-danger"  role = "progressbar"  aria-valuenow = "80"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 80%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 80% Complete< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "progress-striped" > Striped< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Uses a gradient to create a striped effect. Not available in IE8.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress progress-striped"  > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-success"  role = "progressbar"  aria-valuenow = "40"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 40%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 40% Complete (success)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress progress-striped" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-info"  role = "progressbar"  aria-valuenow = "20"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 20%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 20% Complete< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress progress-striped" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-warning"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 60% Complete (warning)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress progress-striped" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-danger"  role = "progressbar"  aria-valuenow = "80"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 80%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 80% Complete (danger)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress progress-striped" >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-success"  role = "progressbar"  aria-valuenow = "40"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 40%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 40% Complete (success)< / span > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress progress-striped" >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 04:06:01 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-info"  role = "progressbar"  aria-valuenow = "20"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 20%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 20% Complete< / span > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress progress-striped" >  
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-warning"  role = "progressbar"  aria-valuenow = "60"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 60%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 60% Complete (warning)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress progress-striped" >  
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-danger"  role = "progressbar"  aria-valuenow = "80"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 80%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 80% Complete (danger)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "progress-animated" > Animated< / h3 > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-31 02:42:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > Add < code > .active< / code >  to < code > .progress-striped< / code >  to animate the stripes right to left. Not available in IE9 and below.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress progress-striped active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar"  role = "progressbar"  aria-valuenow = "45"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 45%" > < span  class = "sr-only" > 45% Complete< / span > < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress progress-striped active" >  
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar"   role = "progressbar"  aria-valuenow = "45"  aria-valuemin = "0"  aria-valuemax = "100"  style = "width: 45%" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:39:00 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 45% Complete< / span > 
							 
						 
					
						
							
								
									
										
											 
										
											
												Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.
What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.
What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo
Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
											 
										 
										
											2013-08-07 12:25:36 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "progress-stacked" > Stacked< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Place multiple bars into the same < code > .progress< / code >  to stack them.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "progress" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-success"  style = "width: 35%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 35% Complete (success)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-warning"  style = "width: 20%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 20% Complete (warning)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "progress-bar progress-bar-danger"  style = "width: 10%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "sr-only" > 10% Complete (danger)< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "progress" >  
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:41:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-success"  style = "width: 35%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 35% Complete (success)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-warning"  style = "width: 20%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 20% Complete (warning)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "progress-bar progress-bar-danger"  style = "width: 10%" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "sr-only" > 10% Complete (danger)< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Media object
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "media"  class = "page-header" > Media object< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "media-default" > Default media< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > The default media allow to float a media object (images, video, audio) to the left or right of a content block.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h4  class = "media-heading" > Media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h4  class = "media-heading" > Media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < h4  class = "media-heading" > Nested media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > <!--  /.bs - example  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "media" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 07:01:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < img  class = "media-object"  src = "..."  alt = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4  class = "media-heading" > Media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "media-list" > Media list< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "media-list" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < h4  class = "media-heading" > Media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < p > Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          <!--  Nested media object  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < h4  class = "media-heading" > Nested media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              <!--  Nested media object  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < div  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                  < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                  < h4  class = "media-heading" > Nested media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                  Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								          <!--  Nested media object  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < div  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              < h4  class = "media-heading" > Nested media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								          < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  class = "pull-right"  href = "#" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < img  class = "media-object"  data-src = "holder.js/64x64"  alt = "Generic placeholder image" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < h4  class = "media-heading" > Media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "media-list" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "media" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < a  class = "pull-left"  href = "#" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 07:01:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < img  class = "media-object"  src = "..."  alt = "..." > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "media-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < h4  class = "media-heading" > Media heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  List group
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "list-group"  class = "page-header" > List group< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "list-group-basic" > Basic example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > Cras justo odio< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > Dapibus ac facilisis in< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > Morbi leo risus< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > Porta ac consectetur ac< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > Vestibulum at eros< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "list-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item" > Cras justo odio< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item" > Dapibus ac facilisis in< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item" > Morbi leo risus< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item" > Porta ac consectetur ac< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item" > Vestibulum at eros< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "list-group-badges" > Badges< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add the badges component to any list group item and it will automatically be positioned on the right.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < ul  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "badge" > 14< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Cras justo odio
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "badge" > 2< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Dapibus ac facilisis in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li  class = "list-group-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = "badge" > 1< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Morbi leo risus
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< ul  class = "list-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "badge" > 14< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Cras justo odio
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "list-group-linked" > Linked items< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Linkify list group items by using anchor tags instead of list items (that also means a parent < code > < div> < / code >  instead of an < code > < ul> < / code > ). No need for individual parents around each element.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Cras justo odio
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Dapibus ac facilisis in< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Morbi leo risus< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Porta ac consectetur ac< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Vestibulum at eros< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "list-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Cras justo odio
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-12 16:39:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Dapibus ac facilisis in< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Morbi leo risus< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Porta ac consectetur ac< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Vestibulum at eros< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2014-03-07 13:40:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h3  id = "list-group-disabled" > Disabled items< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add < code > .disabled< / code >  to a < code > .list-group-item< / code >  to gray it out to appear disabled.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item disabled" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Cras justo odio
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Dapibus ac facilisis in< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Morbi leo risus< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Porta ac consectetur ac< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > Vestibulum at eros< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "list-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item disabled" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Cras justo odio
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Dapibus ac facilisis in< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Morbi leo risus< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Porta ac consectetur ac< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item" > Vestibulum at eros< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-10-17 10:02:04 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "list-group-contextual-classes" > Contextual classes< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Use contextual classes to style list items, default or linked. Also includes < code > .active< / code >  state.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "row" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-sm-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < ul  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "list-group-item list-group-item-success" > Dapibus ac facilisis in< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "list-group-item list-group-item-info" > Cras sit amet nibh libero< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "list-group-item list-group-item-warning" > Porta ac consectetur ac< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < li  class = "list-group-item list-group-item-danger" > Vestibulum at eros< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "col-sm-6" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < div  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  href = "#"  class = "list-group-item list-group-item-success" > Dapibus ac facilisis in< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  href = "#"  class = "list-group-item list-group-item-info" > Cras sit amet nibh libero< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  href = "#"  class = "list-group-item list-group-item-warning" > Porta ac consectetur ac< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < a  href = "#"  class = "list-group-item list-group-item-danger" > Vestibulum at eros< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-08 06:09:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-10-17 10:02:04 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-10-17 10:02:04 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-12-08 06:09:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< ul  class = "list-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item list-group-item-success" > Dapibus ac facilisis in< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-08 05:24:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < li  class = "list-group-item list-group-item-info" > Cras sit amet nibh libero< / li > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-08 06:09:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item list-group-item-warning" > Porta ac consectetur ac< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < li  class = "list-group-item list-group-item-danger" > Vestibulum at eros< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / ul >  
						 
					
						
							
								
									
										
										
										
											2013-10-17 10:02:04 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "list-group" >  
						 
					
						
							
								
									
										
										
										
											2013-12-08 06:09:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item list-group-item-success" > Dapibus ac facilisis in< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-08 05:24:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item list-group-item-info" > Cras sit amet nibh libero< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-08 06:09:03 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item list-group-item-warning" > Porta ac consectetur ac< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item list-group-item-danger" > Vestibulum at eros< / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-10-17 10:02:04 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "list-group-custom-content" > Custom content< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add nearly any HTML within, even for linked list groups like the one below.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h4  class = "list-group-item-heading" > List group item heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < p  class = "list-group-item-text" > Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h4  class = "list-group-item-heading" > List group item heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < p  class = "list-group-item-text" > Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < a  href = "#"  class = "list-group-item" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h4  class = "list-group-item-heading" > List group item heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < p  class = "list-group-item-text" > Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / a > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "list-group" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < a  href = "#"  class = "list-group-item active" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h4  class = "list-group-item-heading" > List group item heading< / h4 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p  class = "list-group-item-text" > ...< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Panels
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "panels"  class = "page-header" > Panels< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p  class = "lead" > While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "panels-basic" > Basic example< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > By default, all the < code > .panel< / code >  does is apply some basic border and padding to contain some content.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Basic panel example
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 10:40:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-08-13 14:36:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Basic panel example
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "panels-heading" > Panel with heading< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Easily add a heading container to your panel with < code > .panel-heading< / code > . You may also include any < code > < h1> < / code > -< code > < h6> < / code >  with a < code > .panel-title< / code >  class to add a pre-styled heading.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > Panel heading without title< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
									
										
										
										
											2013-07-26 12:16:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 10:40:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-08-18 05:27:21 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-heading" > Panel heading without title< / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 14:36:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Panel content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-07-26 12:16:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 10:40:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-07-26 12:16:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 14:36:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Panel content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-26 12:16:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-15 09:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "panels-footer" > Panel with footer< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Wrap buttons or secondary text in < code > .panel-footer< / code > . Note that panel footers < strong > do not< / strong >  inherit colors and borders when using contextual variations as they are not meant to be in the foreground.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
									
										
										
										
											2013-05-15 09:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < div  class = "panel-footer" > Panel footer< / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-15 09:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-15 09:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 10:40:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-08-13 14:36:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Panel content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-15 09:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "panel-footer" > Panel footer< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "panels-alternatives" > Contextual alternatives< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-primary" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-success" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-warning" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-danger" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < h3  class = "panel-title" > Panel title< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Panel content
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-primary" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-success" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-08-16 02:31:26 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-info" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-warning" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-danger" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "panels-tables" > With tables< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Add any non-bordered < code > .table< / code >  within a panel for a seamless design. If there is a < code > .panel-body< / code > , we add an extra border to the top of the table for separation.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  Default panel contents  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > Panel heading< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < p > Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  Table  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < table  class = "table" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < thead > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > #< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > First Name< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > Last Name< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > Username< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / thead > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < tbody > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > 1< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Mark< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Otto< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > @mdo< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > 2< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Jacob< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Thornton< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > @fat< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > 3< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Larry< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > the Bird< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > @twitter< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / tbody > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / table > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 02:08:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 02:08:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:42:12 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-08-19 02:08:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  <!--  Default panel contents  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-heading" > Panel heading< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > ...< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Table  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < table  class = "table" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / table > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > If there is no panel body, the component moves from panel header to table without interruption.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  Default panel contents  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > Panel heading< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  Table  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < table  class = "table" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < thead > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > #< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > First Name< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > Last Name< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < th > Username< / th > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / thead > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < tbody > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > 1< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Mark< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Otto< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > @mdo< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > 2< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Jacob< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Thornton< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > @fat< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > 3< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > Larry< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > the Bird< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            < td > @twitter< / td > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          < / tr > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / tbody > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / table > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 02:08:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 02:08:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:43:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-08-19 02:08:20 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  <!--  Default panel contents  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-heading" > Panel heading< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Table  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < table  class = "table" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / table > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3  id = "panels-list-group" > With list groups< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Easily include full-width < a  href = "#list-group" > list groups< / a >  within any panel.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "panel panel-default" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  Default panel contents  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-heading" > Panel heading< / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < p > Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <!--  List group  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul  class = "list-group" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "list-group-item" > Cras justo odio< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "list-group-item" > Dapibus ac facilisis in< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "list-group-item" > Morbi leo risus< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "list-group-item" > Porta ac consectetur ac< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < li  class = "list-group-item" > Vestibulum at eros< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-19 15:43:22 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "panel panel-default" >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  <!--  Default panel contents  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-heading" > Panel heading< / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-13 14:36:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < div  class = "panel-body" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > ...< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  List group  --> 
							 
						 
					
						
							
								
									
										
										
										
											2013-08-03 08:57:19 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  < ul  class = "list-group" > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < li  class = "list-group-item" > Cras justo odio< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  class = "list-group-item" > Dapibus ac facilisis in< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  class = "list-group-item" > Morbi leo risus< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  class = "list-group-item" > Porta ac consectetur ac< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < li  class = "list-group-item" > Vestibulum at eros< / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-03-07 15:18:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Responsive embeds
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "responsive-embed"  class = "page-header" > Responsive embed< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Allow browsers to determine video or slideshow dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Rules are directly apply to < code > < iframe> < / code > , < code > < embed> < / code >  and < code > < object> < / code >  elements, optionally use of an explicit descendant class < code > .embed-responsive-item< / code >  when you want to match the styling for other attributes.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > < strong > Pro-Tip!< / strong >  You don't need to include < code > frameborder="0"< / code >  in your < code > < iframe> < / code > s as we override that for you.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "embed-responsive embed-responsive-16by9" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < iframe  class = "embed-responsive-item"  src = "//www.youtube.com/embed/zpOULjyy-n8?rel=0"  allowfullscreen > < / iframe > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  16:9 aspect ratio  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "embed-responsive embed-responsive-16by9" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < iframe  class = "embed-responsive-item"  src = "…" > < / iframe > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!--  4:3 aspect ratio  -->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "embed-responsive embed-responsive-4by3" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < iframe  class = "embed-responsive-item"  src = "…" > < / iframe > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  Wells
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								================================================== -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "bs-docs-section" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < h1  id = "wells"  class = "page-header" > Wells< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Default well< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Use the well as a simple effect on an element to give it an inset effect.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "well" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Look, I'm in a well!
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< div  class = "well" > ...< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < h3 > Optional classes< / h3 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < p > Control padding and rounded corners with two optional modifier classes.< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "well well-lg" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Look, I'm in a large well!
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:39:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "well well-lg" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < div  class = "bs-example" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  class = "well well-sm" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Look, I'm in a small well!
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% highlight html %}
							 
						 
					
						
							
								
									
										
										
										
											2013-08-04 12:39:57 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< div  class = "well well-sm" > ...< / div >  
						 
					
						
							
								
									
										
										
										
											2013-05-09 12:56:08 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{% endhighlight %}
							 
						 
					
						
							
								
									
										
										
										
											2014-01-12 16:04:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div >