2014-02-13 18:36:49 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
<!-- Meta, title, CSS, favicons, etc. -->
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "description" content = "Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development." >
< meta name = "keywords" content = "HTML, CSS, JS, JavaScript, framework, bootstrap, front-end, frontend, web development" >
< meta name = "author" content = "Mark Otto, Jacob Thornton, and Bootstrap contributors" >
< title >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
Components · Bootstrap
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< / title >
<!-- Bootstrap core CSS -->
2014-10-29 20:17:44 +01:00
2015-06-16 22:13:14 +02:00
< link href = "../dist/css/bootstrap.min.css" rel = "stylesheet" >
2014-10-29 20:17:44 +01:00
2014-02-13 18:36:49 +01:00
2014-06-26 18:46:59 +02:00
<!-- Optional Bootstrap Theme -->
2014-10-29 20:17:44 +01:00
2015-06-16 22:13:14 +02:00
< link href = "data:text/css;charset=utf-8," data-href = "../dist/css/bootstrap-theme.min.css" rel = "stylesheet" id = "bs-theme-stylesheet" >
2014-10-29 20:17:44 +01:00
2014-06-26 18:46:59 +02:00
2014-02-13 18:36:49 +01:00
<!-- Documentation extras -->
2014-10-29 20:17:44 +01:00
2015-06-16 22:13:14 +02:00
< link href = "../assets/css/docs.min.css" rel = "stylesheet" >
2014-10-29 20:17:44 +01:00
2014-02-13 18:36:49 +01:00
<!-- [if lt IE 9]><script src="../assets/js/ie8 - responsive - file - warning.js"></script><![endif] -->
2014-06-26 18:46:59 +02:00
< script src = "../assets/js/ie-emulation-modes-warning.js" > < / script >
2014-02-13 18:36:49 +01:00
2014-10-29 20:17:44 +01:00
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
2014-02-13 18:36:49 +01:00
<!-- [if lt IE 9]>
2014-06-26 18:46:59 +02:00
< script src = "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js" > < / script >
< script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" > < / script >
2014-02-13 18:36:49 +01:00
<![endif]-->
<!-- Favicons -->
2014-10-29 20:17:44 +01:00
< link rel = "apple-touch-icon" href = "/apple-touch-icon.png" >
2014-06-26 18:46:59 +02:00
< link rel = "icon" href = "/favicon.ico" >
2014-02-13 18:36:49 +01:00
< script >
2014-06-26 18:46:59 +02:00
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-146052-10', 'getbootstrap.com');
ga('send', 'pageview');
2014-02-13 18:36:49 +01:00
< / script >
< / head >
< body >
2014-12-22 21:53:56 +01:00
< a id = "skippy" class = "sr-only sr-only-focusable" href = "#content" > < div class = "container" > < span class = "skiplink-text" > Skip to main content< / span > < / div > < / a >
2014-02-13 18:36:49 +01:00
<!-- Docs master nav -->
< header class = "navbar navbar-static-top bs-docs-nav" id = "top" role = "banner" >
< div class = "container" >
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button class = "navbar-toggle collapsed" type = "button" data-toggle = "collapse" data-target = "#bs-navbar" aria-controls = "bs-navbar" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< a href = "../" class = "navbar-brand" > Bootstrap< / a >
< / div >
2015-06-16 18:50:35 +02:00
< nav id = "bs-navbar" class = "collapse navbar-collapse" >
2014-02-13 18:36:49 +01:00
< ul class = "nav navbar-nav" >
< li >
2014-10-29 20:17:44 +01:00
< a href = "../getting-started/" > Getting started< / a >
2014-02-13 18:36:49 +01:00
< / li >
< li >
2014-10-29 20:17:44 +01:00
< a href = "../css/" > CSS< / a >
2014-02-13 18:36:49 +01:00
< / li >
< li class = "active" >
2014-10-29 20:17:44 +01:00
< a href = "../components/" > Components< / a >
2014-02-13 18:36:49 +01:00
< / li >
< li >
2014-10-29 20:17:44 +01:00
< a href = "../javascript/" > JavaScript< / a >
2014-02-13 18:36:49 +01:00
< / li >
< li >
2014-10-29 20:17:44 +01:00
< a href = "../customize/" > Customize< / a >
2014-02-13 18:36:49 +01:00
< / li >
< / ul >
< ul class = "nav navbar-nav navbar-right" >
2014-06-26 18:46:59 +02:00
< li > < a href = "http://expo.getbootstrap.com" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Expo');" > Expo< / a > < / li >
< li > < a href = "http://blog.getbootstrap.com" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Blog');" > Blog< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / nav >
< / div >
< / header >
<!-- Docs page layout -->
2015-03-16 16:57:29 +01:00
< div class = "bs-docs-header" id = "content" tabindex = "-1" >
2014-02-13 18:36:49 +01:00
< div class = "container" >
< h1 > Components< / h1 >
< p > Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.< / p >
< div id = "carbonads-container" > < div class = "carbonad" > < div id = "azcarbon" > < / div > < script > var z = document . createElement ( "script" ) ; z . async = true ; z . src = "http://engine.carbonads.com/z/32341/azcarbon_2_1_0_HORIZ" ; var s = document . getElementsByTagName ( "script" ) [ 0 ] ; s . parentNode . insertBefore ( z , s ) ; < / script > < / div > < / div >
< / div >
< / div >
< div class = "container bs-docs-container" >
< div class = "row" >
< div class = "col-md-9" role = "main" >
2014-06-26 18:46:59 +02:00
< div class = "bs-docs-section" >
2014-02-13 18:36:49 +01:00
< h1 id = "glyphicons" class = "page-header" > Glyphicons< / h1 >
< h2 id = "glyphicons-glyphs" > Available glyphs< / h2 >
2015-03-16 16:57:29 +01:00
< p > Includes over 250 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 >
2014-02-13 18:36:49 +01:00
< div class = "bs-glyphicons" >
< ul class = "bs-glyphicons-list" >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-asterisk" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-asterisk< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-plus" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-plus< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-euro" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-euro< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-eur" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-eur< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-minus" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-minus< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-cloud" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-cloud< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-envelope" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-envelope< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-pencil" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-pencil< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-glass" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-glass< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-music" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-music< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-search" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-search< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-heart" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-heart< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-star" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-star< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-star-empty" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-star-empty< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-user" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-user< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-film" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-film< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-th-large" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-th-large< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-th" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-th< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-th-list" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-th-list< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-ok" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-ok< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-remove" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-remove< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-zoom-in" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-zoom-in< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-zoom-out" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-zoom-out< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-off" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-off< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-signal" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-signal< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-cog" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-cog< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-trash" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-trash< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-home" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-home< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-file" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-file< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-time" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-time< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-road" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-road< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-download-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-download-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-download" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-download< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-upload" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-upload< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-inbox" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-inbox< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-play-circle" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-play-circle< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-repeat" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-repeat< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-refresh" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-refresh< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-list-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-list-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-lock" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-lock< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-flag" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-flag< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-headphones" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-headphones< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-volume-off" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-volume-off< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-volume-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-volume-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-volume-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-volume-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-qrcode" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-qrcode< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-barcode" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-barcode< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tag" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tag< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tags" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tags< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-book" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-book< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-bookmark" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-bookmark< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-print" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-print< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-camera" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-camera< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-font" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-font< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-bold" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-bold< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-italic" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-italic< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-text-height" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-text-height< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-text-width" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-text-width< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-align-left" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-align-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-align-center" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-align-center< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-align-right" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-align-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-align-justify" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-align-justify< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-list" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-list< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-indent-left" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-indent-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-indent-right" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-indent-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-facetime-video" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-facetime-video< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-picture" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-picture< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-map-marker" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-map-marker< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-adjust" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-adjust< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tint" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tint< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-edit" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-edit< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-share" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-share< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-check" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-check< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-move" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-move< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-step-backward" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-step-backward< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-fast-backward" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-fast-backward< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-backward" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-backward< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-play" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-play< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-pause" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-pause< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-stop" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-stop< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-forward" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-forward< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-fast-forward" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-fast-forward< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-step-forward" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-step-forward< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-eject" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-eject< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-chevron-left" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-chevron-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-chevron-right" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-chevron-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-plus-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-plus-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-minus-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-minus-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-remove-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-remove-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-ok-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-ok-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-question-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-question-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-info-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-info-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-screenshot" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-screenshot< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-remove-circle" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-remove-circle< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-ok-circle" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-ok-circle< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-ban-circle" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-ban-circle< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-arrow-left" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-arrow-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-arrow-right" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-arrow-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-arrow-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-arrow-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-arrow-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-arrow-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-share-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-share-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-resize-full" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-resize-full< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-resize-small" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-resize-small< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-exclamation-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-exclamation-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-gift" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-gift< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-leaf" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-leaf< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-fire" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-fire< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-eye-open" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-eye-open< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-eye-close" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-eye-close< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-warning-sign" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-warning-sign< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-plane" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-plane< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-calendar" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-calendar< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-random" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-random< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-comment" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-comment< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-magnet" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-magnet< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-chevron-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-chevron-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-chevron-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-chevron-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-retweet" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-retweet< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-shopping-cart" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-shopping-cart< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-folder-close" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-folder-close< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-folder-open" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-folder-open< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-resize-vertical" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-resize-vertical< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-resize-horizontal" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-resize-horizontal< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-hdd" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-hdd< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-bullhorn" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-bullhorn< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-bell" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-bell< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-certificate" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-certificate< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-thumbs-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-thumbs-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-thumbs-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-thumbs-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-hand-right" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-hand-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-hand-left" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-hand-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-hand-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-hand-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-hand-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-hand-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-circle-arrow-right" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-circle-arrow-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-circle-arrow-left" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-circle-arrow-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-circle-arrow-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-circle-arrow-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-circle-arrow-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-circle-arrow-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-globe" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-globe< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-wrench" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-wrench< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tasks" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tasks< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-filter" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-filter< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-briefcase" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-briefcase< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-fullscreen" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-fullscreen< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-dashboard" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-dashboard< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-paperclip" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-paperclip< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-heart-empty" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-heart-empty< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-link" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-link< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-phone" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-phone< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-pushpin" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-pushpin< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-usd" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-usd< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-gbp" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-gbp< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort-by-alphabet" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort-by-alphabet< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort-by-alphabet-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort-by-alphabet-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort-by-order" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort-by-order< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort-by-order-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort-by-order-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort-by-attributes" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort-by-attributes< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sort-by-attributes-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sort-by-attributes-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-unchecked" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-unchecked< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-expand" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-expand< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-collapse-down" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-collapse-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-collapse-up" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-collapse-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-log-in" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-log-in< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-flash" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-flash< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-log-out" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-log-out< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-new-window" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-new-window< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-record" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-record< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-save" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-save< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-open" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-open< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-saved" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-saved< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-import" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-import< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-export" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-export< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-send" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-send< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-floppy-disk" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-floppy-disk< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-floppy-saved" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-floppy-saved< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-floppy-remove" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-floppy-remove< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-floppy-save" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-floppy-save< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-floppy-open" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-floppy-open< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-credit-card" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-credit-card< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-transfer" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-transfer< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-cutlery" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-cutlery< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-header" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-header< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-compressed" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-compressed< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-earphone" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-earphone< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-phone-alt" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-phone-alt< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tower" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tower< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-stats" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-stats< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sd-video" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sd-video< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-hd-video" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-hd-video< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-subtitles" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-subtitles< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sound-stereo" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sound-stereo< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sound-dolby" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sound-dolby< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sound-5-1" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sound-5-1< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sound-6-1" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sound-6-1< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-sound-7-1" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-sound-7-1< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-copyright-mark" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-copyright-mark< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-registration-mark" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-registration-mark< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-cloud-download" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-cloud-download< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-cloud-upload" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-cloud-upload< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tree-conifer" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tree-conifer< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
2014-11-12 18:15:07 +01:00
< span class = "glyphicon glyphicon-tree-deciduous" aria-hidden = "true" > < / span >
2014-02-13 18:36:49 +01:00
< span class = "glyphicon-class" > glyphicon glyphicon-tree-deciduous< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-cd" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-cd< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-save-file" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-save-file< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-open-file" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-open-file< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-level-up" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-level-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-copy" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-copy< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-paste" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-paste< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-alert" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-alert< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-equalizer" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-equalizer< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-king" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-king< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-queen" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-queen< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-pawn" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-pawn< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-bishop" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-bishop< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-knight" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-knight< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-baby-formula" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-baby-formula< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-tent" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-tent< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-blackboard" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-blackboard< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-bed" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-bed< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-apple" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-apple< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-erase" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-erase< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-hourglass" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-hourglass< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-lamp" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-lamp< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-duplicate" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-duplicate< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-piggy-bank" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-piggy-bank< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-scissors" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-scissors< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-bitcoin" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-bitcoin< / span >
< / li >
2015-03-16 16:57:29 +01:00
< li >
< span class = "glyphicon glyphicon-btc" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-btc< / span >
< / li >
< li >
< span class = "glyphicon glyphicon-xbt" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-xbt< / span >
< / li >
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-yen" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-yen< / span >
< / li >
2015-03-16 16:57:29 +01:00
< li >
< span class = "glyphicon glyphicon-jpy" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-jpy< / span >
< / li >
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-ruble" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-ruble< / span >
< / li >
2015-03-16 16:57:29 +01:00
< li >
< span class = "glyphicon glyphicon-rub" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-rub< / span >
< / li >
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-scale" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-scale< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-ice-lolly" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-ice-lolly< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-ice-lolly-tasted" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-ice-lolly-tasted< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-education" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-education< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-option-horizontal" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-option-horizontal< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-option-vertical" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-option-vertical< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-menu-hamburger" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-menu-hamburger< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-modal-window" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-modal-window< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-oil" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-oil< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-grain" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-grain< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-sunglasses" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-sunglasses< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-text-size" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-text-size< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-text-color" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-text-color< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-text-background" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-text-background< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-object-align-top" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-object-align-top< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-object-align-bottom" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-object-align-bottom< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-object-align-horizontal" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-object-align-horizontal< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-object-align-left" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-object-align-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-object-align-vertical" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-object-align-vertical< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-object-align-right" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-object-align-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-triangle-right" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-triangle-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-triangle-left" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-triangle-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-triangle-bottom" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-triangle-bottom< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-triangle-top" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-triangle-top< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-console" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-console< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-superscript" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-superscript< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-subscript" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-subscript< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-menu-left" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-menu-left< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-menu-right" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-menu-right< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-menu-down" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-menu-down< / span >
< / li >
2015-03-16 16:57:29 +01:00
2015-01-19 18:10:41 +01:00
< li >
< span class = "glyphicon glyphicon-menu-up" aria-hidden = "true" > < / span >
< span class = "glyphicon-class" > glyphicon glyphicon-menu-up< / span >
< / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-glyphicons-dont-mix" >
2014-02-13 18:36:49 +01:00
< h4 > Don't mix with other components< / h4 >
< 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 >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-glyphicons-empty-only" >
2014-06-26 18:46:59 +02:00
< h4 > Only for use on empty elements< / h4 >
< p > Icon classes should only be used on elements that contain no text content and have no child elements.< / p >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-info" id = "callout-glyphicons-location" >
2014-06-26 18:46:59 +02:00
< h4 > Changing the icon font location< / h4 >
< p > Bootstrap assumes icon font files will be located in the < code > ../fonts/< / code > directory, relative to the compiled CSS files. Moving or renaming those font files means updating the CSS in one of three ways:< / p >
< ul >
< li > Change the < code > @icon-font-path< / code > and/or < code > @icon-font-name< / code > variables in the source Less files.< / li >
< li > Utilize the < a href = "http://lesscss.org/usage/#command-line-usage-relative-urls" > relative URLs option< / a > provided by the Less compiler.< / li >
< li > Change the < code > url()< / code > paths in the compiled CSS.< / li >
< / ul >
< p > Use whatever option best suits your specific development setup.< / p >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-glyphicons-accessibility" >
2014-11-12 18:15:07 +01:00
< h4 > Accessible icons< / h4 >
< p > Modern versions of assistive technologies will announce CSS generated content, as well as specific Unicode characters. To avoid unintended and confusing output in screen readers (particularly when icons are used purely for decoration), we hide them with the < code > aria-hidden="true"< / code > attribute.< / p >
< p > If you're using an icon to convey meaning (rather than only as a decorative element), ensure that this meaning is also conveyed to assistive technologies – for instance, include additional content, visually hidden with the < code > .sr-only< / code > class.< / p >
< p > If you're creating controls with no other text (such as a < code > < button> < / code > that only contains an icon), you should always provide alternative content to identify the purpose of the control, so that it will make sense to users of assistive technologies. In this case, you could add an < code > aria-label< / code > attribute on the control itself.< / p >
< / div >
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "glyphicon glyphicon-search"< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < /span> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h2 id = "glyphicons-examples" > Examples< / h2 >
< p > Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "glyphicons-general" >
2014-02-13 18:36:49 +01:00
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" >
2014-11-12 18:15:07 +01:00
< button type = "button" class = "btn btn-default" aria-label = "Left Align" > < span class = "glyphicon glyphicon-align-left" aria-hidden = "true" > < / span > < / button >
< button type = "button" class = "btn btn-default" aria-label = "Center Align" > < span class = "glyphicon glyphicon-align-center" aria-hidden = "true" > < / span > < / button >
< button type = "button" class = "btn btn-default" aria-label = "Right Align" > < span class = "glyphicon glyphicon-align-right" aria-hidden = "true" > < / span > < / button >
< button type = "button" class = "btn btn-default" aria-label = "Justify" > < span class = "glyphicon glyphicon-align-justify" aria-hidden = "true" > < / span > < / button >
2014-02-13 18:36:49 +01:00
< / div >
< / div >
< div class = "btn-toolbar" role = "toolbar" >
2014-11-12 18:15:07 +01:00
< button type = "button" class = "btn btn-default btn-lg" > < span class = "glyphicon glyphicon-star" aria-hidden = "true" > < / span > Star< / button >
< button type = "button" class = "btn btn-default" > < span class = "glyphicon glyphicon-star" aria-hidden = "true" > < / span > Star< / button >
< button type = "button" class = "btn btn-default btn-sm" > < span class = "glyphicon glyphicon-star" aria-hidden = "true" > < / span > Star< / button >
< button type = "button" class = "btn btn-default btn-xs" > < span class = "glyphicon glyphicon-star" aria-hidden = "true" > < / span > Star< / button >
2014-02-13 18:36:49 +01:00
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "Left Align"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "glyphicon glyphicon-align-left"< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default btn-lg"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "glyphicon glyphicon-star"< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < /span> < / span > Star
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /button> < / span > < / code > < / pre > < / div >
2014-11-12 18:15:07 +01:00
< p > An icon used in an < a href = "#alerts" > alert< / a > to convey that it's an error message, with additional < code > .sr-only< / code > text to convey this hint to users of assistive technologies.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "glyphicons-accessibility" >
2014-11-12 18:15:07 +01:00
< div class = "alert alert-danger" role = "alert" >
< span class = "glyphicon glyphicon-exclamation-sign" aria-hidden = "true" > < / span >
< span class = "sr-only" > Error:< / span >
Enter a valid email address
< / div >
< / div >
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-danger"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "glyphicon glyphicon-exclamation-sign"< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > Error:< span class = "nt" > < /span> < / span >
Enter a valid email address
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "dropdowns" class = "page-header" > Dropdowns< / h1 >
< p class = "lead" > Toggleable, contextual menu for displaying lists of links. Made interactive with the < a href = "../javascript/#dropdowns" > dropdown JavaScript plugin< / a > .< / p >
2015-03-16 16:57:29 +01:00
< h2 id = "dropdowns-example" > Example< / h2 >
2015-06-16 18:50:35 +02:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "static-dropdown" >
2014-02-13 18:36:49 +01:00
< div class = "dropdown clearfix" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default dropdown-toggle" type = "button" id = "dropdownMenu1" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "true" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "dropdownMenu1" >
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
< / div > <!-- /example -->
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > id=< / span > < span class = "s" > "dropdownMenu1"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Dropdown
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "na" > aria-labelledby=< / span > < span class = "s" > "dropdownMenu1"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
< p > Dropdown menus can be changed to expand upwards (instead of downwards) by adding < code > .dropup< / code > to the parent.< / p >
< div class = "bs-example" data-example-id = "static-dropup" >
< div class = "dropup clearfix" >
< button class = "btn btn-default dropdown-toggle" type = "button" id = "dropdownMenu2" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
Dropup
< span class = "caret" > < / span >
< / button >
< ul class = "dropdown-menu" aria-labelledby = "dropdownMenu2" >
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
< / ul >
< / div >
< / div > <!-- /example -->
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "dropup"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > id=< / span > < span class = "s" > "dropdownMenu2"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
Dropup
2015-03-16 16:57:29 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "na" > aria-labelledby=< / span > < span class = "s" > "dropdownMenu2"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2015-03-16 16:57:29 +01:00
< span class = "nt" > < /ul> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "dropdowns-alignment" > Alignment< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-dropdown-positioning" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-dropdown-pull-right" >
2014-02-13 18:36:49 +01:00
< h4 > Deprecated < code > .pull-right< / code > alignment< / h4 >
< 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 >
< / div >
2015-06-16 18:50:35 +02:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu dropdown-menu-right"< / span > < span class = "na" > aria-labelledby=< / span > < span class = "s" > "dLabel"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "dropdowns-headers" > Headers< / h2 >
2014-02-13 18:36:49 +01:00
< p > Add a header to label sections of actions in any dropdown menu.< / p >
< div class = "bs-example" >
< div class = "dropdown clearfix" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default dropdown-toggle" type = "button" id = "dropdownMenu3" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "true" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "dropdownMenu3" >
< li class = "dropdown-header" > Dropdown header< / li >
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
< li class = "dropdown-header" > Dropdown header< / li >
< li > < a href = "#" > Separated link< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
< / div > <!-- /example -->
2015-06-16 18:50:35 +02:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "na" > aria-labelledby=< / span > < span class = "s" > "dropdownMenu3"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
...
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-header"< / span > < span class = "nt" > > < / span > Dropdown header< span class = "nt" > < /li> < / span >
2014-10-29 20:17:44 +01:00
...
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2015-03-16 16:57:29 +01:00
< h2 id = "dropdowns-divider" > Divider< / h2 >
2014-10-29 20:17:44 +01:00
< p > Add a divider to separate series of links in a dropdown menu.< / p >
< div class = "bs-example" >
< div class = "dropdown clearfix" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default dropdown-toggle" type = "button" id = "dropdownMenuDivider" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "true" >
2014-10-29 20:17:44 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "dropdownMenuDivider" >
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
< li role = "separator" class = "divider" > < / li >
< li > < a href = "#" > Separated link< / a > < / li >
2014-10-29 20:17:44 +01:00
< / ul >
< / div >
< / div > <!-- /example -->
2015-06-16 18:50:35 +02:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "na" > aria-labelledby=< / span > < span class = "s" > "dropdownMenuDivider"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "dropdowns-disabled" > Disabled menu items< / h2 >
2014-02-13 18:36:49 +01:00
< 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" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default dropdown-toggle" type = "button" id = "dropdownMenu4" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "true" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "dropdownMenu4" >
< li > < a href = "#" > Regular link< / a > < / li >
< li class = "disabled" > < a href = "#" > Disabled link< / a > < / li >
< li > < a href = "#" > Another link< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
< / div > <!-- /example -->
2015-06-16 18:50:35 +02:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "na" > aria-labelledby=< / span > < span class = "s" > "dropdownMenu4"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Regular link< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "disabled"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Disabled link< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another link< span class = "nt" > < /a> < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "btn-groups" class = "page-header" > Button groups< / h1 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-btn-group-tooltips" >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-btn-group-accessibility" >
2014-11-12 18:15:07 +01:00
< h4 > Ensure correct < code > role< / code > and provide a label< / h4 >
< p > In order for assistive technologies – such as screen readers – to convey that a series of buttons is grouped, an appropriate < code > role< / code > attribute needs to be provided. For button groups, this would be < code > role="group"< / code > , while toolbars should have a < code > role="toolbar"< / code > .< / p >
< p > One exception are groups which only contain a single control (for instance the < a href = "#btn-groups-justified" > justified button groups< / a > with < code > < button> < / code > elements) or a dropdown.< / p >
< p > In addition, groups and toolbars should be given an explicit label, as most assistive technologies will otherwise not announce them, despite the presence of the correct < code > role< / code > attribute. In the examples provided here, we use < code > aria-label< / code > , but alternatives such as < code > aria-labelledby< / code > can also be used.< / p >
< / div >
2015-03-16 16:57:29 +01:00
< h2 id = "btn-groups-single" > Basic example< / h2 >
2014-02-13 18:36:49 +01:00
< p > Wrap a series of buttons with < code > .btn< / code > in < code > .btn-group< / code > .< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-button-group" >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" aria-label = "Basic example" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Left< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Middle< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Right< span class = "nt" > < /button> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-groups-toolbar" > Button toolbar< / h2 >
2014-02-13 18:36:49 +01:00
< p > Combine sets of < code > < div class="btn-group"> < / code > into a < code > < div class="btn-toolbar"> < / code > for more complex components.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-button-toolbar" >
2014-11-12 18:15:07 +01:00
< div class = "btn-toolbar" role = "toolbar" aria-label = "Toolbar with button groups" >
< div class = "btn-group" role = "group" aria-label = "First group" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" aria-label = "Second group" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" aria-label = "Third group" >
2014-02-13 18:36:49 +01:00
< button type = "button" class = "btn btn-default" > 8< / button >
< / div >
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-toolbar"< / span > < span class = "na" > role=< / span > < span class = "s" > "toolbar"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-groups-sizing" > Sizing< / h2 >
2014-12-22 21:52:56 +01:00
< p > Instead of applying button sizing classes to every button in a group, just add < code > .btn-group-*< / code > to each < code > .btn-group< / code > , including when nesting multiple groups.< / p >
< div class = "bs-example" data-example-id = "button-group-sizing" >
2014-11-12 18:15:07 +01:00
< div class = "btn-group btn-group-lg" role = "group" aria-label = "Large button 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 >
2014-02-13 18:36:49 +01:00
< / div >
2014-11-12 18:15:07 +01:00
< br >
< div class = "btn-group" role = "group" aria-label = "Default button 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 >
2014-02-13 18:36:49 +01:00
< / div >
2014-11-12 18:15:07 +01:00
< br >
< div class = "btn-group btn-group-sm" role = "group" aria-label = "Small button 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 >
2014-02-13 18:36:49 +01:00
< / div >
2014-11-12 18:15:07 +01:00
< br >
< div class = "btn-group btn-group-xs" role = "group" aria-label = "Extra-small button 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 >
2014-02-13 18:36:49 +01:00
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group btn-group-lg"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group btn-group-sm"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group btn-group-xs"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-groups-nested" > Nesting< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "button-group-nesting" >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" aria-label = "Button group with nested dropdown" >
2014-02-13 18:36:49 +01:00
< button type = "button" class = "btn btn-default" > 1< / button >
< button type = "button" class = "btn btn-default" > 2< / button >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2015-06-16 18:50:35 +02:00
< button id = "btnGroupDrop1" type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "btnGroupDrop1" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Dropdown link< / a > < / li >
< li > < a href = "#" > Dropdown link< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > 1< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > 2< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
2014-11-12 18:15:07 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Dropdown
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Dropdown link< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Dropdown link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-groups-vertical" > Vertical variation< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "vertical-button-group" >
2014-11-12 18:15:07 +01:00
< div class = "btn-group-vertical" role = "group" aria-label = "Vertical button group" >
2014-02-13 18:36:49 +01:00
< button type = "button" class = "btn btn-default" > Button< / button >
< button type = "button" class = "btn btn-default" > Button< / button >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2015-06-16 18:50:35 +02:00
< button id = "btnGroupVerticalDrop1" type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "btnGroupVerticalDrop1" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2015-06-16 18:50:35 +02:00
< button id = "btnGroupVerticalDrop2" type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "btnGroupVerticalDrop2" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Dropdown link< / a > < / li >
< li > < a href = "#" > Dropdown link< / a > < / li >
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2015-06-16 18:50:35 +02:00
< button id = "btnGroupVerticalDrop3" type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "btnGroupVerticalDrop3" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Dropdown link< / a > < / li >
< li > < a href = "#" > Dropdown link< / a > < / li >
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2015-06-16 18:50:35 +02:00
< button id = "btnGroupVerticalDrop4" type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown
< span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" aria-labelledby = "btnGroupVerticalDrop4" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Dropdown link< / a > < / li >
< li > < a href = "#" > Dropdown link< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group-vertical"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-groups-justified" > Justified button groups< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-btn-group-justified-dbl-border" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-btn-group-ie8-border" >
2014-06-26 18:46:59 +02:00
< h4 > IE8 and borders< / h4 >
< p > Internet Explorer 8 doesn't render borders on buttons in a justified button group, whether it's on < code > < a> < / code > or < code > < button> < / code > elements. To get around that, wrap each button in another < code > .btn-group< / code > .< / p >
< p > See < a href = "https://github.com/twbs/bootstrap/issues/12476" > #12476< / a > for more information.< / p >
< / div >
2014-02-13 18:36:49 +01: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-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-justified-button-group" >
2014-11-12 18:15:07 +01:00
< div class = "btn-group btn-group-justified" role = "group" aria-label = "Justified button group" >
2014-10-29 20:17:44 +01:00
< a href = "#" class = "btn btn-default" role = "button" > Left< / a >
< a href = "#" class = "btn btn-default" role = "button" > Middle< / a >
< a href = "#" class = "btn btn-default" role = "button" > Right< / a >
2014-02-13 18:36:49 +01:00
< / div >
< br >
2014-11-12 18:15:07 +01:00
< div class = "btn-group btn-group-justified" role = "group" aria-label = "Justified button group with nested dropdown" >
2014-10-29 20:17:44 +01:00
< a href = "#" class = "btn btn-default" role = "button" > Left< / a >
< a href = "#" class = "btn btn-default" role = "button" > Middle< / a >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2015-06-16 18:50:35 +02:00
< a href = "#" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown < span class = "caret" > < / span >
< / a >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group btn-group-justified"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-btn-group-anchor-btn" >
< h4 > Links acting as buttons< / h4 >
< p > If the < code > < a> < / code > elements are used to act as buttons – triggering in-page functionality, rather than navigating to another document or section within the current page – they should also be given an appropriate < code > role="button"< / code > .< / p >
2014-11-12 18:15:07 +01:00
< / div >
2014-02-13 18:36:49 +01:00
< h4 > With < code > < button> < / code > elements< / h4 >
2014-11-12 18:15:07 +01:00
< 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 work around that.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "button-tag-button-group-justified" >
2014-11-12 18:15:07 +01:00
< div class = "btn-group btn-group-justified" role = "group" aria-label = "Justified button group" >
< div class = "btn-group" role = "group" >
2014-02-13 18:36:49 +01:00
< button type = "button" class = "btn btn-default" > Left< / button >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2014-02-13 18:36:49 +01:00
< button type = "button" class = "btn btn-default" > Middle< / button >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "btn-group" role = "group" >
2014-02-13 18:36:49 +01:00
< button type = "button" class = "btn btn-default" > Right< / button >
< / div >
< / div >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group btn-group-justified"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Left< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-11-12 18:15:07 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Middle< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-11-12 18:15:07 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "na" > role=< / span > < span class = "s" > "group"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Right< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "btn-dropdowns" class = "page-header" > Button dropdowns< / h1 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-btndropdown-dependency" >
2014-02-13 18:36:49 +01:00
< 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 >
2015-03-16 16:57:29 +01:00
< h2 id = "btn-dropdowns-single" > Single button dropdowns< / h2 >
2014-02-13 18:36:49 +01:00
< p > Turn a button into a dropdown toggle with some basic markup changes.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "single-button-dropdown" >
2014-02-13 18:36:49 +01:00
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Default < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Primary < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-success dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Success < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-info dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Info < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-warning dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Warning < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-danger dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Danger < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "c" > < !-- Single button --> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
Action < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-dropdowns-split" > Split button dropdowns< / h2 >
2014-02-13 18:36:49 +01:00
< p > Similarly, create split button dropdowns with the same markup changes, only with a separate button.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "split-button-dropdown" >
2014-02-13 18:36:49 +01:00
< div class = "btn-group" >
< button type = "button" class = "btn btn-default" > Default< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
< button type = "button" class = "btn btn-primary" > Primary< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
< button type = "button" class = "btn btn-success" > Success< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-success dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
< button type = "button" class = "btn btn-info" > Info< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-info dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
< button type = "button" class = "btn btn-warning" > Warning< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-warning dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< div class = "btn-group" >
< button type = "button" class = "btn btn-danger" > Danger< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-danger dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "c" > < !-- Split button --> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-danger"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-danger dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > Toggle Dropdown< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-dropdowns-sizing" > Sizing< / h2 >
2014-02-13 18:36:49 +01:00
< p > Button dropdowns work with buttons of all sizes.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "button-dropdown-sizing" >
2014-02-13 18:36:49 +01:00
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default btn-lg dropdown-toggle" type = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Large button < span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div > <!-- /btn - toolbar -->
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default btn-sm dropdown-toggle" type = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Small button < span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div > <!-- /btn - toolbar -->
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group" >
2015-06-16 18:50:35 +02:00
< button class = "btn btn-default btn-xs dropdown-toggle" type = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Extra small button < span class = "caret" > < / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div > <!-- /btn - toolbar -->
< / div > <!-- /example -->
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "c" > < !-- Large button group --> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default btn-lg dropdown-toggle"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
Large button < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /div> < / span >
< span class = "c" > < !-- Small button group --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default btn-sm dropdown-toggle"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
Small button < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /div> < / span >
< span class = "c" > < !-- Extra small button group --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default btn-xs dropdown-toggle"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
Extra small button < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /ul> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "btn-dropdowns-dropup" > Dropup variation< / h2 >
2014-02-13 18:36:49 +01:00
< p > Trigger dropdown menus above elements by adding < code > .dropup< / code > to the parent.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "button-dropdown-dropup" >
2014-02-13 18:36:49 +01:00
< div class = "btn-toolbar" role = "toolbar" >
< div class = "btn-group dropup" >
< button type = "button" class = "btn btn-default" > Dropup< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< 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 >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu dropdown-menu-right" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div >
< / div > <!-- /example -->
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "btn-group dropup"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Dropup< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > Toggle Dropdown< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Dropdown menu links --> < / span >
< span class = "nt" > < /ul> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "input-groups" class = "page-header" > Input groups< / h1 >
2014-09-27 02:49:42 +02:00
< p class = "lead" > Extend form controls by adding text or buttons before, after, or on both sides of any text-based < code > < input> < / code > . 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 >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-inputgroup-text-input-only" >
2014-09-27 02:49:42 +02:00
< h4 > Textual < code > < input> < / code > s only< / h4 >
2014-02-13 18:36:49 +01:00
< p > Avoid using < code > < select> < / code > elements here as they cannot be fully styled in WebKit browsers.< / p >
2014-09-27 02:49:42 +02:00
< p > Avoid using < code > < textarea> < / code > elements here as their < code > rows< / code > attribute will not be respected in some cases.< / p >
2014-02-13 18:36:49 +01:00
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-inputgroup-container-body" >
2014-02-13 18:36:49 +01: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-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-inputgroup-dont-mix" >
2014-02-13 18:36:49 +01:00
< h4 > Don't mix with other components< / h4 >
< 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 >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-inputgroup-form-labels" >
< 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 input groups, ensure that any additional label or functionality is conveyed to assistive technologies.< / p >
< p > The exact technique to be used (< code > < label> < / code > elements hidden using the < code > .sr-only< / code > class, or use of the < code > aria-label< / code > , < code > aria-labelledby< / code > , < code > aria-describedby< / code > , < code > title< / code > or < code > placeholder< / code > attribute) and what additional information will need to be conveyed will vary depending on the exact type of interface widget you're implementing. The examples in this section provide a few suggested, case-specific approaches.< / p >
< / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< form class = "bs-example bs-example-form" data-example-id = "simple-input-groups" >
2014-02-13 18:36:49 +01:00
< div class = "input-group" >
2014-12-22 21:58:47 +01:00
< span class = "input-group-addon" id = "basic-addon1" > @< / span >
< input type = "text" class = "form-control" placeholder = "Username" aria-describedby = "basic-addon1" >
2014-02-13 18:36:49 +01:00
< / div >
< br >
< div class = "input-group" >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" placeholder = "Recipient's username" aria-describedby = "basic-addon2" >
< span class = "input-group-addon" id = "basic-addon2" > @example.com< / span >
2014-02-13 18:36:49 +01:00
< / div >
< br >
< div class = "input-group" >
< span class = "input-group-addon" > $< / span >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Amount (to the nearest dollar)" >
2014-02-13 18:36:49 +01:00
< span class = "input-group-addon" > .00< / span >
< / div >
< / form >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "na" > id=< / span > < span class = "s" > "basic-addon1"< / span > < span class = "nt" > > < / span > @< span class = "nt" > < /span> < / span >
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Username"< / span > < span class = "na" > aria-describedby=< / span > < span class = "s" > "basic-addon1"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Recipient's username"< / span > < span class = "na" > aria-describedby=< / span > < span class = "s" > "basic-addon2"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "na" > id=< / span > < span class = "s" > "basic-addon2"< / span > < span class = "nt" > > < / span > @example.com< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "nt" > > < / span > $< span class = "nt" > < /span> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "Amount (to the nearest dollar)"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "nt" > > < / span > .00< span class = "nt" > < /span> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< form class = "bs-example bs-example-form" data-example-id = "input-group-sizing" >
2014-02-13 18:36:49 +01:00
< div class = "input-group input-group-lg" >
2014-12-22 21:58:47 +01:00
< span class = "input-group-addon" id = "sizing-addon1" > @< / span >
< input type = "text" class = "form-control" placeholder = "Username" aria-describedby = "sizing-addon1" >
2014-02-13 18:36:49 +01:00
< / div >
< br >
< div class = "input-group" >
2014-12-22 21:58:47 +01:00
< span class = "input-group-addon" id = "sizing-addon2" > @< / span >
< input type = "text" class = "form-control" placeholder = "Username" aria-describedby = "sizing-addon2" >
2014-02-13 18:36:49 +01:00
< / div >
< br >
< div class = "input-group input-group-sm" >
2014-12-22 21:58:47 +01:00
< span class = "input-group-addon" id = "sizing-addon3" > @< / span >
< input type = "text" class = "form-control" placeholder = "Username" aria-describedby = "sizing-addon3" >
2014-02-13 18:36:49 +01:00
< / div >
< / form >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group input-group-lg"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "na" > id=< / span > < span class = "s" > "sizing-addon1"< / span > < span class = "nt" > > < / span > @< span class = "nt" > < /span> < / span >
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Username"< / span > < span class = "na" > aria-describedby=< / span > < span class = "s" > "sizing-addon1"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "na" > id=< / span > < span class = "s" > "sizing-addon2"< / span > < span class = "nt" > > < / span > @< span class = "nt" > < /span> < / span >
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Username"< / span > < span class = "na" > aria-describedby=< / span > < span class = "s" > "sizing-addon2"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group input-group-sm"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "na" > id=< / span > < span class = "s" > "sizing-addon3"< / span > < span class = "nt" > > < / span > @< span class = "nt" > < /span> < / span >
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Username"< / span > < span class = "na" > aria-describedby=< / span > < span class = "s" > "sizing-addon3"< / span > < span class = "nt" > > < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< form class = "bs-example bs-example-form" data-example-id = "input-group-with-checkbox-radio" >
2014-02-13 18:36:49 +01:00
< div class = "row" >
< div class = "col-lg-6" >
< div class = "input-group" >
< span class = "input-group-addon" >
2014-12-22 21:58:47 +01:00
< input type = "checkbox" aria-label = "Checkbox for following text input" >
2014-02-13 18:36:49 +01:00
< / span >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Text input with checkbox" >
2014-02-13 18:36:49 +01:00
< / div > <!-- /input - group -->
< / div > <!-- /.col - lg - 6 -->
< div class = "col-lg-6" >
< div class = "input-group" >
< span class = "input-group-addon" >
2014-12-22 21:58:47 +01:00
< input type = "radio" aria-label = "Radio button for following text input" >
2014-02-13 18:36:49 +01:00
< / span >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Text input with radio button" >
2014-02-13 18:36:49 +01:00
< / div > <!-- /input - group -->
< / div > <!-- /.col - lg - 6 -->
< / div > <!-- /.row -->
< / form >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "row"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-lg-6"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "checkbox"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /span> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /input-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.col-lg-6 --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-lg-6"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-addon"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "radio"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /span> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /input-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.col-lg-6 --> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.row --> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< form class = "bs-example bs-example-form" data-example-id = "input-group-with-button" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" placeholder = "Search for..." >
2014-02-13 18:36:49 +01:00
< / div > <!-- /input - group -->
< / div > <!-- /.col - lg - 6 -->
< div class = "col-lg-6" >
< div class = "input-group" >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" placeholder = "Search for..." >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "row"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-lg-6"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-btn"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "nt" > > < / span > Go!< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /span> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Search for..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /input-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.col-lg-6 --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-lg-6"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Search for..."< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-btn"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "nt" > > < / span > Go!< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /span> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /input-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.col-lg-6 --> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.row --> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h2 id = "input-groups-buttons-dropdowns" > Buttons with dropdowns< / h2 >
< p > < / p >
2014-12-22 21:52:56 +01:00
< form class = "bs-example bs-example-form" data-example-id = "input-group-dropdowns" >
2014-02-13 18:36:49 +01:00
< div class = "row" >
< div class = "col-lg-6" >
< div class = "input-group" >
< div class = "input-group-btn" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Action < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Text input with dropdown button" >
2014-02-13 18:36:49 +01:00
< / div > <!-- /input - group -->
< / div > <!-- /.col - lg - 6 -->
< div class = "col-lg-6" >
< div class = "input-group" >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Text input with dropdown button" >
2014-02-13 18:36:49 +01:00
< div class = "input-group-btn" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" > Action < span class = "caret" > < / span > < / button >
< ul class = "dropdown-menu dropdown-menu-right" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div > <!-- /btn - group -->
< / div > <!-- /input - group -->
< / div > <!-- /.col - lg - 6 -->
< / div > <!-- /.row -->
< / form >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "row"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-lg-6"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-btn"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span > Action < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < /button> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /btn-group --> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /input-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.col-lg-6 --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-lg-6"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-btn"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span > Action < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < /button> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu dropdown-menu-right"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /btn-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /input-group --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.col-lg-6 --> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.row --> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h2 id = "input-groups-buttons-segmented" > Segmented buttons< / h2 >
2014-12-22 21:52:56 +01:00
< form class = "bs-example bs-example-form" data-example-id = "input-group-segmented-buttons" >
2014-02-13 18:36:49 +01:00
< div class = "row" >
< div class = "col-lg-6" >
< div class = "input-group" >
< div class = "input-group-btn" >
2014-12-22 21:58:47 +01:00
< button type = "button" class = "btn btn-default" > Action< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Text input with segmented button dropdown" >
2014-02-13 18:36:49 +01:00
< / div > <!-- /.input - group -->
< / div > <!-- /.col - lg - 6 -->
< div class = "col-lg-6" >
< div class = "input-group" >
2014-12-22 21:58:47 +01:00
< input type = "text" class = "form-control" aria-label = "Text input with segmented button dropdown" >
2014-02-13 18:36:49 +01:00
< div class = "input-group-btn" >
2014-12-22 21:58:47 +01:00
< button type = "button" class = "btn btn-default" > Action< / button >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< span class = "caret" > < / span >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu dropdown-menu-right" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / div >
< / div > <!-- /.input - group -->
< / div > <!-- /.col - lg - 6 -->
< / div > <!-- /.row -->
< / form >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-btn"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Button and dropdown menu --> < / span >
< span class = "nt" > < /div> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "input-group-btn"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Button and dropdown menu --> < / span >
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "nav" class = "page-header" > Navs< / h1 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-info" id = "callout-navs-tabs-plugin" >
2014-11-12 18:15:07 +01:00
< h4 > Using navs for tab panels requires JavaScript tabs plugin< / h4 >
< p > For tabs with tabbable areas, you must use the < a href = "../javascript/#tabs" > tabs JavaScript plugin< / a > . The markup will also require additional < code > role< / code > and ARIA attributes – see the plugin's < a href = "../javascript/#tabs-usage" > example markup< / a > for further details.< / p >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navs-accessibility" >
2014-11-12 18:15:07 +01:00
< h4 > Make navs used as navigation accessible< / h4 >
< p > If you are using navs to provide a navigation bar, be sure to add a < code > role="navigation"< / code > to the most logical parent container of the < code > < ul> < / code > , or wrap a < code > < nav> < / code > element around the whole navigation. Do not add the role to the < code > < ul> < / code > itself, as this would prevent it from being announced as an actual list by assistive technologies.< / p >
< / div >
2014-02-13 18:36:49 +01:00
< h2 id = "nav-tabs" > Tabs< / h2 >
< p > Note the < code > .nav-tabs< / code > class requires the < code > .nav< / code > base class.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-nav-tabs" >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-tabs" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Profile< / a > < / li >
< li role = "presentation" > < a href = "#" > Messages< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-tabs"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Home< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Profile< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Messages< span class = "nt" > < /a> < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-11-12 18:15:07 +01:00
2014-02-13 18:36:49 +01:00
< h2 id = "nav-pills" > Pills< / h2 >
< p > Take that same HTML, but use < code > .nav-pills< / code > instead:< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-nav-pills" >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-pills" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Profile< / a > < / li >
< li role = "presentation" > < a href = "#" > Messages< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-pills"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Home< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Profile< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Messages< span class = "nt" > < /a> < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< p > Pills are also vertically stackable. Just add < code > .nav-stacked< / code > .< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-nav-stacked" >
2015-03-16 16:57:29 +01:00
< ul class = "nav nav-pills nav-stacked nav-pills-stacked-example" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Profile< / a > < / li >
< li role = "presentation" > < a href = "#" > Messages< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-pills nav-stacked"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-09-27 02:53:35 +02:00
< p > < strong class = "text-danger" > Justified navbar nav links are currently not supported.< / strong > < / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navs-justified-safari" >
2014-02-13 18:36:49 +01:00
< h4 > Safari and responsive justified navs< / h4 >
2014-10-29 20:17:44 +01:00
< p > As of v8.0, 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-02-13 18:36:49 +01:00
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-nav-justified" >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-tabs nav-justified" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Profile< / a > < / li >
< li role = "presentation" > < a href = "#" > Messages< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< br >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-pills nav-justified" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Profile< / a > < / li >
< li role = "presentation" > < a href = "#" > Messages< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-tabs nav-justified"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /ul> < / span >
2014-11-12 18:15:07 +01:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-pills nav-justified"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h2 id = "nav-disabled-links" > Disabled links< / h2 >
< p > For any nav component (tabs or pills), add < code > .disabled< / code > for < strong > gray links and no hover effects< / strong > .< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navs-anchor-disabled" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "disabled-nav-link" >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-pills" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" > < a href = "#" > Clickable link< / a > < / li >
< li role = "presentation" > < a href = "#" > Clickable link< / a > < / li >
< li role = "presentation" class = "disabled" > < a href = "#" > Disabled link< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-pills"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "na" > class=< / span > < span class = "s" > "disabled"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Disabled link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
< h3 > Tabs with dropdowns< / h3 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "nav-tabs-with-dropdown" >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-tabs" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Help< / a > < / li >
< li role = "presentation" class = "dropdown" >
2015-06-16 18:50:35 +02:00
< a class = "dropdown-toggle" data-toggle = "dropdown" href = "#" role = "button" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown < span class = "caret" > < / span >
< / a >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / li >
< / ul >
< / div >
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-tabs"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
Dropdown < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /a> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /li> < / span >
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h3 > Pills with dropdowns< / h3 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "nav-pills-with-dropdown" >
2014-11-12 18:15:07 +01:00
< ul class = "nav nav-pills" >
2014-10-29 20:17:44 +01:00
< li role = "presentation" class = "active" > < a href = "#" > Home< / a > < / li >
< li role = "presentation" > < a href = "#" > Help< / a > < / li >
< li role = "presentation" class = "dropdown" >
2015-06-16 18:50:35 +02:00
< a class = "dropdown-toggle" data-toggle = "dropdown" href = "#" role = "button" aria-haspopup = "true" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
Dropdown < span class = "caret" > < / span >
< / a >
2015-06-16 18:50:35 +02:00
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / li >
< / ul >
< / div > <!-- /example -->
2014-11-12 18:15:07 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-pills"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
Dropdown < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /a> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /li> < / span >
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "navbar" class = "page-header" > Navbar< / h1 >
< 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 >
2014-09-27 02:53:35 +02:00
< p > < strong class = "text-danger" > Justified navbar nav links are currently not supported.< / strong > < / p >
2014-02-13 18:36:49 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navbar-overflow" >
< 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 >
< li > Hide certain navbar items at certain screen sizes using < a href = "../css/#responsive-utilities" > responsive utility classes< / a > .< / li >
< 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 >
< / ol >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-navbar-js" >
2014-11-12 18:15:07 +01:00
< h4 > Requires JavaScript plugin< / h4 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-11-12 18:15:07 +01:00
< p > The responsive navbar requires the < a href = "../javascript/#collapse" > collapse plugin< / a > to be included in your version of Bootstrap.< / p >
2014-02-13 18:36:49 +01:00
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-info" id = "callout-navbar-breakpoint" >
2014-06-26 18:46:59 +02:00
< h4 > Changing the collapsed mobile navbar breakpoint< / h4 >
< p > The navbar collapses into its vertical mobile view when the viewport is narrower than < code > @grid-float-breakpoint< / code > , and expands into its horizontal non-mobile view when the viewport is at least < code > @grid-float-breakpoint< / code > in width. Adjust this variable in the Less source to control when the navbar collapses/expands. The default value is < code > 768px< / code > (the smallest "small" or "tablet" screen).< / p >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navbar-role" >
2014-11-12 18:15:07 +01:00
< h4 > Make navbars accessible< / h4 >
2014-12-22 21:52:56 +01:00
< p > Be sure to use a < code > < nav> < / code > element or, if using a more generic element such as a < code > < div> < / code > , add a < code > role="navigation"< / code > to every navbar to explicitly identify it as a landmark region for users of assistive technologies.< / p >
2014-11-12 18:15:07 +01:00
< / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "default-navbar" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default" >
2014-02-13 18:36:49 +01:00
< div class = "container-fluid" >
<!-- Brand and toggle get grouped for better mobile display -->
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-1" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
<!-- 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" >
2014-11-12 18:15:07 +01:00
< li class = "active" > < a href = "#" > Link < span class = "sr-only" > (current)< / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Link< / a > < / li >
< li class = "dropdown" >
2015-06-16 18:50:35 +02:00
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" > Dropdown < span class = "caret" > < / span > < / a >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< 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" >
2015-06-16 18:50:35 +02:00
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" > Dropdown < span class = "caret" > < / span > < / a >
< ul class = "dropdown-menu" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Action< / a > < / li >
< li > < a href = "#" > Another action< / a > < / li >
< li > < a href = "#" > Something else here< / a > < / li >
2015-06-16 18:50:35 +02:00
< li role = "separator" class = "divider" > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Separated link< / a > < / li >
< / ul >
< / li >
< / ul >
< / div > <!-- /.navbar - collapse -->
< / div > <!-- /.container - fluid -->
< / nav >
< / div >
2014-12-22 21:58:47 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar navbar-default"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "container-fluid"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Brand and toggle get grouped for better mobile display --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-header"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-toggle collapsed"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "collapse"< / span > < span class = "na" > data-target=< / span > < span class = "s" > "#bs-example-navbar-collapse-1"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > Toggle navigation< span class = "nt" > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "icon-bar"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "icon-bar"< / span > < span class = "nt" > > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "icon-bar"< / span > < span class = "nt" > > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /button> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-brand"< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Brand< span class = "nt" > < /a> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "c" > < !-- Collect the nav links, forms, and other content for toggling --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "collapse navbar-collapse"< / span > < span class = "na" > id=< / span > < span class = "s" > "bs-example-navbar-collapse-1"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav navbar-nav"< / span > < span class = "nt" > > < / span >
2014-11-12 18:15:07 +01:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Link < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > (current)< span class = "nt" > < /span> < /a> < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Link< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span > Dropdown < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < /a> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > One more separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /li> < / span >
< span class = "nt" > < /ul> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < form< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-form navbar-left"< / span > < span class = "na" > role=< / span > < span class = "s" > "search"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "form-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Search"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "submit"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Submit< span class = "nt" > < /button> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /form> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav navbar-nav navbar-right"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Link< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown"< / span > < span class = "nt" > > < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-toggle"< / span > < span class = "na" > data-toggle=< / span > < span class = "s" > "dropdown"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "na" > aria-haspopup=< / span > < span class = "s" > "true"< / span > < span class = "na" > aria-expanded=< / span > < span class = "s" > "false"< / span > < span class = "nt" > > < / span > Dropdown < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "caret"< / span > < span class = "nt" > > < /span> < /a> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "dropdown-menu"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Another action< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Something else here< span class = "nt" > < /a> < /li> < / span >
2015-06-16 18:50:35 +02:00
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "separator"< / span > < span class = "na" > class=< / span > < span class = "s" > "divider"< / span > < span class = "nt" > > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Separated link< span class = "nt" > < /a> < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /li> < / span >
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.navbar-collapse --> < / span >
< span class = "nt" > < /div> < / span > < span class = "c" > < !-- /.container-fluid --> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-10-21 04:08:10 +02:00
< h2 id = "navbar-brand-image" > Brand image< / h2 >
< p > Replace the navbar brand with your own image by swapping the text for an < code > < img> < / code > . Since the < code > .navbar-brand< / code > has its own padding and height, you may need to override some CSS depending on your image.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "navbar-with-image-brand" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default" >
2014-10-21 04:08:10 +02:00
< div class = "container-fluid" >
< div class = "navbar-header" >
< a class = "navbar-brand" href = "#" >
2014-12-22 21:58:47 +01:00
< img alt = "Brand" width = "20" height = "20" src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA81BMVEX///9VPnxWPXxWPXxWPXxWPXxWPXxWPXz///9hSYT6+vuFc6BXPn37+vz8+/z9/f2LeqWMe6aOfqiTg6uXiK5bQ4BZQX9iS4VdRYFdRYJfSINuWI5vWY9xXJF0YJR3Y5Z4ZZd5ZZd6Z5h9apq0qcW1qsW1q8a6sMqpnLyrn76tocCvpMGwpMJoUoprVYxeRoJjS4abjLGilLemmbrDutDFvdLPx9nX0eDa1OLb1uPd1+Td2OXe2eXh3Ofj3+nk4Orl4evp5u7u7PLv7fPx7/T08vb08/f19Pf29Pj39vn6+fuEcZ9YP35aQn/8/P1ZQH5fR4PINAOdAAAAB3RSTlMAIWWOw/P002ipnAAAAPhJREFUeF6NldWOhEAUBRvtRsfdfd3d3e3/v2ZPmGSWZNPDqScqqaSBSy4CGJbtSi2ubRkiwXRkBo6ZdJIApeEwoWMIS1JYwuZCW7hc6ApJkgrr+T/eW1V9uKXS5I5GXAjW2VAV9KFfSfgJpk+w4yXhwoqwl5AIGwp4RPgdK3XNHD2ETYiwe6nUa18f5jYSxle4vulw7/EtoCdzvqkPv3bn7M0eYbc7xFPXzqCrRCgH0Hsm/IjgTSb04W0i7EGjz+xw+wR6oZ1MnJ9TWrtToEx+4QfcZJ5X6tnhw+nhvqebdVhZUJX/oFcKvaTotUcvUnY188ue/n38AunzPPE8yg7bAAAAAElFTkSuQmCC" >
2014-10-21 04:08:10 +02:00
< / a >
< / div >
< / div >
< / nav >
< / div >
2014-12-22 21:58:47 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar navbar-default"< / span > < span class = "nt" > > < / span >
2014-10-21 04:08:10 +02:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "container-fluid"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-header"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-brand"< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < img< / span > < span class = "na" > alt=< / span > < span class = "s" > "Brand"< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "navbar-form" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default" >
2014-02-13 18:36:49 +01:00
< div class = "container-fluid" >
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-2" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < form< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-form navbar-left"< / span > < span class = "na" > role=< / span > < span class = "s" > "search"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "form-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < input< / span > < span class = "na" > type=< / span > < span class = "s" > "text"< / span > < span class = "na" > class=< / span > < span class = "s" > "form-control"< / span > < span class = "na" > placeholder=< / span > < span class = "s" > "Search"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "submit"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "nt" > > < / span > Submit< span class = "nt" > < /button> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /form> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navbar-mobile-caveats" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navbar-form-labels" >
2014-02-13 18:36:49 +01:00
< h4 > Always add labels< / h4 >
2014-12-22 21:52:56 +01:00
< p > Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the < code > .sr-only< / code > class. There are further alternative methods of providing a label for assistive technologies, such as the < code > aria-label< / code > , < code > aria-labelledby< / code > or < code > title< / code > attribute. If none of these is present, screen readers may resort to using the < code > placeholder< / code > attribute, if present, but note that use of < code > placeholder< / code > as a replacement for other labelling methods is not advised.< / p >
2014-02-13 18:36:49 +01:00
< / div >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "navbar-button" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default" >
2014-02-13 18:36:49 +01:00
< div class = "container-fluid" >
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-3" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default navbar-btn"< / span > < span class = "nt" > > < / span > Sign in< span class = "nt" > < /button> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navbar-btn-context" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "navbar-text" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default" >
2014-02-13 18:36:49 +01:00
< div class = "container-fluid" >
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-4" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < p< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-text"< / span > < span class = "nt" > > < / span > Signed in as Mark Otto< span class = "nt" > < /p> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "navbar-link" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default" >
2014-02-13 18:36:49 +01:00
< div class = "container-fluid" >
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-5" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < p< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-text navbar-right"< / span > < span class = "nt" > > < / span > Signed in as < span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar-link"< / span > < span class = "nt" > > < / span > Mark Otto< span class = "nt" > < /a> < /p> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-navbar-right-align" >
2014-06-26 18:46:59 +02:00
< 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 >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example bs-navbar-top-example" data-example-id = "navbar-fixed-to-top" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default navbar-fixed-top" >
2014-02-13 18:36:49 +01:00
<!-- 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" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-6" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 -->
2014-12-22 21:58:47 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar navbar-default navbar-fixed-top"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "container"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-navbar-fixed-top-padding" >
2014-02-13 18:36:49 +01:00
< 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-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-scss" data-lang = "scss" > < span class = "nt" > body< / span > < span class = "p" > {< / span > < span class = "nl" > padding-top< / span > < span class = "p" > :< / span > < span class = "m" > 70px< / span > < span class = "p" > ;< / span > < span class = "p" > }< / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< p > Make sure to include this < strong > after< / strong > the core Bootstrap CSS.< / p >
< / div >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example bs-navbar-bottom-example" data-example-id = "navbar-fixed-to-bottom" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default navbar-fixed-bottom" >
2014-02-13 18:36:49 +01:00
<!-- 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" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-7" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 -->
2014-12-22 21:58:47 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar navbar-default navbar-fixed-bottom"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "container"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-navbar-fixed-bottom-padding" >
2014-02-13 18:36:49 +01:00
< 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-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-scss" data-lang = "scss" > < span class = "nt" > body< / span > < span class = "p" > {< / span > < span class = "nl" > padding-bottom< / span > < span class = "p" > :< / span > < span class = "m" > 70px< / span > < span class = "p" > ;< / span > < span class = "p" > }< / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< p > Make sure to include this < strong > after< / strong > the core Bootstrap CSS.< / p >
< / div >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example bs-navbar-top-example" data-example-id = "navbar-static-top" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-default navbar-static-top" >
2014-02-13 18:36:49 +01:00
<!-- 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" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-8" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
<!-- 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 -->
2014-12-22 21:58:47 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar navbar-default navbar-static-top"< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "container"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h2 id = "navbar-inverted" > Inverted navbar< / h2 >
< p > Modify the look of the navbar by adding < code > .navbar-inverse< / code > .< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "inverted-navbar" >
2014-12-22 21:58:47 +01:00
< nav class = "navbar navbar-inverse" >
2014-02-13 18:36:49 +01:00
< div class = "container-fluid" >
<!-- Brand and toggle get grouped for better mobile display -->
< div class = "navbar-header" >
2015-06-16 18:50:35 +02:00
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-9" aria-expanded = "false" >
2014-02-13 18:36:49 +01:00
< 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 >
<!-- 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 -->
2014-12-22 21:58:47 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav< / span > < span class = "na" > class=< / span > < span class = "s" > "navbar navbar-inverse"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-breadcrumbs" >
2014-02-13 18:36:49 +01:00
< ol class = "breadcrumb" >
< li class = "active" > Home< / li >
< / ol >
< ol class = "breadcrumb" >
< li > < a href = "#" > Home< / a > < / li >
< li class = "active" > Library< / li >
< / ol >
2015-03-16 16:57:29 +01:00
< ol class = "breadcrumb" >
2014-02-13 18:36:49 +01:00
< li > < a href = "#" > Home< / a > < / li >
< li > < a href = "#" > Library< / a > < / li >
< li class = "active" > Data< / li >
< / ol >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ol< / span > < span class = "na" > class=< / span > < span class = "s" > "breadcrumb"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Home< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Library< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < / span > Data< span class = "nt" > < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ol> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "pagination" class = "page-header" > Pagination< / h1 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-pagination" >
2014-10-29 20:17:44 +01:00
< nav >
< ul class = "pagination" >
2014-12-22 21:58:47 +01:00
< li >
< a href = "#" aria-label = "Previous" >
< span aria-hidden = "true" > « < / span >
< / a >
< / li >
2014-10-29 20:17:44 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< li >
< a href = "#" aria-label = "Next" >
< span aria-hidden = "true" > » < / span >
< / a >
< / li >
2014-10-29 20:17:44 +01:00
< / ul >
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pagination"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < li> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "Previous"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & laquo;< / span > < span class = "nt" > < /span> < / span >
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > 1< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > 2< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > 3< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > 4< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > 5< span class = "nt" > < /a> < /li> < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < li> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "Next"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & raquo;< / span > < span class = "nt" > < /span> < / span >
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "disabled-active-pagination" >
2014-10-29 20:17:44 +01:00
< nav >
< ul class = "pagination" >
2014-12-22 21:58:47 +01:00
< li class = "disabled" > < a href = "#" aria-label = "Previous" > < span aria-hidden = "true" > « < / span > < / a > < / li >
2014-10-29 20:17:44 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Next" > < span aria-hidden = "true" > » < / span > < / a > < / li >
2014-10-29 20:17:44 +01:00
< / ul >
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pagination"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "disabled"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "Previous"< / span > < span class = "nt" > > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & laquo;< / span > < span class = "nt" > < /span> < /a> < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > 1 < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > (current)< span class = "nt" > < /span> < /a> < /li> < / span >
...
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-11-12 18:15:07 +01:00
< p > You can optionally swap out active or disabled anchors for < code > < span> < / code > , or omit the anchor in the case of the previous/next arrows, to remove click functionality while retaining intended styles.< / p >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pagination"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "disabled"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & laquo;< / span > < span class = "nt" > < /span> < / span >
< span class = "nt" > < /span> < / span >
< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span> < / span > 1 < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > (current)< span class = "nt" > < /span> < /span> < / span >
< span class = "nt" > < /li> < / span >
2014-10-29 20:17:44 +01:00
...
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h3 > Sizing< / h3 >
< p > Fancy larger or smaller pagination? Add < code > .pagination-lg< / code > or < code > .pagination-sm< / code > for additional sizes.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "pagination-sizing" >
2014-10-29 20:17:44 +01:00
< nav >
2014-02-13 18:36:49 +01:00
< ul class = "pagination pagination-lg" >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Previous" > < span aria-hidden = "true" > « < / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Next" > < span aria-hidden = "true" > » < / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
2014-10-29 20:17:44 +01:00
< / nav >
< nav >
2014-02-13 18:36:49 +01:00
< ul class = "pagination" >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Previous" > < span aria-hidden = "true" > « < / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Next" > < span aria-hidden = "true" > » < / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
2014-10-29 20:17:44 +01:00
< / nav >
< nav >
2014-02-13 18:36:49 +01:00
< ul class = "pagination pagination-sm" >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Previous" > < span aria-hidden = "true" > « < / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< li > < a href = "#" aria-label = "Next" > < span aria-hidden = "true" > » < / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
2014-10-29 20:17:44 +01:00
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pagination pagination-lg"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /ul> < /nav> < / span >
< span class = "nt" > < nav> < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pagination"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /ul> < /nav> < / span >
< span class = "nt" > < nav> < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pagination pagination-sm"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /ul> < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
< h3 > Default example< / h3 >
< p > By default, the pager centers links.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-pager" >
2014-10-29 20:17:44 +01:00
< nav >
< ul class = "pager" >
< li > < a href = "#" > Previous< / a > < / li >
< li > < a href = "#" > Next< / a > < / li >
< / ul >
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pager"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Previous< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Next< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h3 > Aligned links< / h3 >
< p > Alternatively, you can align each link to the sides:< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "aligned-pager-links" >
2014-10-29 20:17:44 +01:00
< nav >
< ul class = "pager" >
2014-11-12 18:15:07 +01:00
< li class = "previous" > < a href = "#" > < span aria-hidden = "true" > ← < / span > Older< / a > < / li >
< li class = "next" > < a href = "#" > Newer < span aria-hidden = "true" > → < / span > < / a > < / li >
2014-10-29 20:17:44 +01:00
< / ul >
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pager"< / span > < span class = "nt" > > < / span >
2014-11-12 18:15:07 +01:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "previous"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & larr;< / span > < span class = "nt" > < /span> < / span > Older< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "next"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Newer < span class = "nt" > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & rarr;< / span > < span class = "nt" > < /span> < /a> < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< h3 > Optional disabled state< / h3 >
< p > Pager links also use the general < code > .disabled< / code > utility class from the pagination.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "disabled-pager" >
2014-10-29 20:17:44 +01:00
< nav >
< ul class = "pager" >
2014-11-12 18:15:07 +01:00
< li class = "previous disabled" > < a href = "#" > < span aria-hidden = "true" > ← < / span > Older< / a > < / li >
< li class = "next" > < a href = "#" > Newer < span aria-hidden = "true" > → < / span > < / a > < / li >
2014-10-29 20:17:44 +01:00
< / ul >
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < nav> < / span >
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "pager"< / span > < span class = "nt" > > < / span >
2014-11-12 18:15:07 +01:00
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "previous disabled"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & larr;< / span > < span class = "nt" > < /span> < / span > Older< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "next"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Newer < span class = "nt" > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & rarr;< / span > < span class = "nt" > < /span> < /a> < /li> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < /ul> < / span >
< span class = "nt" > < /nav> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "labels" class = "page-header" > Labels< / h1 >
2015-03-16 16:57:29 +01:00
< h2 > Example< / h2 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "labels-in-headings" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < h3> < / span > Example heading < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-default"< / span > < span class = "nt" > > < / span > New< span class = "nt" > < /span> < /h3> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 > Available variations< / h2 >
2014-02-13 18:36:49 +01:00
< p > Add any of the below mentioned modifier classes to change the appearance of a label.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "label-variants" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-default"< / span > < span class = "nt" > > < / span > Default< span class = "nt" > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-primary"< / span > < span class = "nt" > > < / span > Primary< span class = "nt" > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-success"< / span > < span class = "nt" > > < / span > Success< span class = "nt" > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-info"< / span > < span class = "nt" > > < / span > Info< span class = "nt" > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-warning"< / span > < span class = "nt" > > < / span > Warning< span class = "nt" > < /span> < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "label label-danger"< / span > < span class = "nt" > > < / span > Danger< span class = "nt" > < /span> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-info" id = "callout-labels-inline-block" >
2014-06-26 18:46:59 +02:00
< h4 > Have tons of labels?< / h4 >
< p > Rendering problems can arise when you have dozens of inline labels within a narrow container, each containing its own < code > inline-block< / code > element (like an icon). The way around this is setting < code > display: inline-block;< / code > . For context and an example, < a href = "https://github.com/twbs/bootstrap/issues/13219" > see #13219< / a > .< / p >
< / div >
< / div >
2014-02-13 18:36:49 +01:00
< div class = "bs-docs-section" >
< h1 id = "badges" class = "page-header" > Badges< / h1 >
< p class = "lead" > Easily highlight new or unread items by adding a < code > < span class="badge"> < / code > to links, Bootstrap navs, and more.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-badges" >
2014-02-13 18:36:49 +01:00
< a href = "#" > Inbox < span class = "badge" > 42< / span > < / a >
2014-10-29 20:17:44 +01:00
< br > < br >
< button class = "btn btn-primary" type = "button" >
Messages < span class = "badge" > 4< / span >
< / button >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Inbox < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "badge"< / span > < span class = "nt" > > < / span > 42< span class = "nt" > < /span> < /a> < / span >
< span class = "nt" > < button< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-primary"< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "nt" > > < / span >
Messages < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "badge"< / span > < span class = "nt" > > < / span > 4< span class = "nt" > < /span> < / span >
< span class = "nt" > < /button> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-badges-ie8-empty" >
2014-02-13 18:36:49 +01:00
< 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 >
< h4 > Adapts to active nav states< / h4 >
< p > Built-in styles are included for placing badges in active states in pill navigations.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "badges-in-pills" >
2014-10-29 20:17:44 +01:00
< ul class = "nav nav-pills" role = "tablist" >
< li role = "presentation" class = "active" > < a href = "#" > Home < span class = "badge" > 42< / span > < / a > < / li >
< li role = "presentation" > < a href = "#" > Profile< / a > < / li >
< li role = "presentation" > < a href = "#" > Messages < span class = "badge" > 3< / span > < / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "nav nav-pills"< / span > < span class = "na" > role=< / span > < span class = "s" > "tablist"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "na" > class=< / span > < span class = "s" > "active"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Home < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "badge"< / span > < span class = "nt" > > < / span > 42< span class = "nt" > < /span> < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Profile< span class = "nt" > < /a> < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > role=< / span > < span class = "s" > "presentation"< / span > < span class = "nt" > > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span > Messages < span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "badge"< / span > < span class = "nt" > > < / span > 3< span class = "nt" > < /span> < /a> < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-jumbotron" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< p > < a class = "btn btn-primary btn-lg" href = "#" role = "button" > Learn more< / a > < / p >
2014-02-13 18:36:49 +01:00
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "jumbotron"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < h1> < / span > Hello, world!< span class = "nt" > < /h1> < / span >
< span class = "nt" > < p> < / span > ...< span class = "nt" > < /p> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < p> < a< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-primary btn-lg"< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "nt" > > < / span > Learn more< span class = "nt" > < /a> < /p> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01: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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "jumbotron"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "container"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "page-header" class = "page-header" > Page header< / h1 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-page-header" >
2014-02-13 18:36:49 +01:00
< div class = "page-header" >
< h1 > Example page header < small > Subtext for header< / small > < / h1 >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "page-header"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < h1> < / span > Example page header < span class = "nt" > < small> < / span > Subtext for header< span class = "nt" > < /small> < /h1> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< 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 >
2015-01-19 18:10:41 +01:00
< p > If you're looking for Pinterest-like presentation of thumbnails of varying heights and/or widths, you'll need to use a third-party plugin such as < a href = "http://masonry.desandro.com" > Masonry< / a > , < a href = "http://isotope.metafizzy.co" > Isotope< / a > , or < a href = "http://salvattore.com" > Salvattore< / a > .< / p >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "thumbnails-default" > Default example< / h2 >
2014-02-13 18:36:49 +01:00
< p > By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-thumbnails" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div > <!-- /.bs - example -->
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "row"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-xs-6 col-md-3"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "thumbnail"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < img< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "na" > alt=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /div> < / span >
...
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "thumbnails-custom-content" > Custom content< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "thumbnails-with-custom-content" >
2014-02-13 18:36:49 +01:00
< div class = "row" >
< div class = "col-sm-6 col-md-4" >
< div class = "thumbnail" >
2014-06-26 18:46:59 +02:00
< img data-src = "holder.js/100%x200" alt = "Generic placeholder thumbnail" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div >
< div class = "col-sm-6 col-md-4" >
< div class = "thumbnail" >
2014-06-26 18:46:59 +02:00
< img data-src = "holder.js/100%x200" alt = "Generic placeholder thumbnail" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div >
< div class = "col-sm-6 col-md-4" >
< div class = "thumbnail" >
2014-06-26 18:46:59 +02:00
< img data-src = "holder.js/100%x200" alt = "Generic placeholder thumbnail" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div >
< / div >
< / div > <!-- /.bs - example -->
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "row"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "col-sm-6 col-md-4"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "thumbnail"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < img< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "na" > alt=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "caption"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < h3> < / span > Thumbnail label< span class = "nt" > < /h3> < / span >
< span class = "nt" > < p> < / span > ...< span class = "nt" > < /p> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < p> < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-primary"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "nt" > > < / span > Button< span class = "nt" > < /a> < / span > < span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "btn btn-default"< / span > < span class = "na" > role=< / span > < span class = "s" > "button"< / span > < span class = "nt" > > < / span > Button< span class = "nt" > < /a> < /p> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "alerts" class = "page-header" > Alerts< / h1 >
2014-09-27 03:25:01 +02:00
< p class = "lead" > Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.< / p >
2014-02-13 18:36:49 +01: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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-info" id = "callout-alerts-no-default" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-alerts" >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-success" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Well done!< / strong > You successfully read this important alert message.
< / div >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-info" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Heads up!< / strong > This alert needs your attention, but it's not super important.
< / div >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-warning" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Warning!< / strong > Better check yourself, you're not looking too good.
< / div >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-danger" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Oh snap!< / strong > Change a few things up and try submitting again.
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-success"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-info"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-warning"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-danger"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-06-26 18:46:59 +02:00
< h2 id = "alerts-dismissible" > Dismissible alerts< / h2 >
< p > Build on any alert by adding an optional < code > .alert-dismissible< / code > and close button.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-info" id = "callout-alerts-dismiss-plugin" >
2014-09-27 03:25:01 +02:00
< h4 > Requires JavaScript alert plugin< / h4 >
< p > For fully functioning, dismissible alerts, you must use the < a href = "../javascript/#alerts" > alerts JavaScript plugin< / a > .< / p >
< / div >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "dismissible-alert-css" >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-warning alert-dismissible" role = "alert" >
2014-12-22 21:58:47 +01:00
< button type = "button" class = "close" data-dismiss = "alert" aria-label = "Close" > < span aria-hidden = "true" > × < / span > < / button >
2014-02-13 18:36:49 +01:00
< strong > Warning!< / strong > Better check yourself, you're not looking too good.
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-warning alert-dismissible"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span >
2014-12-22 21:58:47 +01:00
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "close"< / span > < span class = "na" > data-dismiss=< / span > < span class = "s" > "alert"< / span > < span class = "na" > aria-label=< / span > < span class = "s" > "Close"< / span > < span class = "nt" > > < span< / span > < span class = "na" > aria-hidden=< / span > < span class = "s" > "true"< / span > < span class = "nt" > > < / span > < span class = "ni" > & times;< / span > < span class = "nt" > < /span> < /button> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < strong> < / span > Warning!< span class = "nt" > < /strong> < / span > Better check yourself, you're not looking too good.
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-warning" id = "callout-alerts-dismiss-use-button" >
2014-02-13 18:36:49 +01:00
< 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 >
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "alerts-with-links" >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-success" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Well done!< / strong > You successfully read < a href = "#" class = "alert-link" > this important alert message< / a > .
< / div >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-info" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Heads up!< / strong > This < a href = "#" class = "alert-link" > alert needs your attention< / a > , but it's not super important.
< / div >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-warning" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Warning!< / strong > Better check yourself, you're < a href = "#" class = "alert-link" > not looking too good< / a > .
< / div >
2014-06-26 18:46:59 +02:00
< div class = "alert alert-danger" role = "alert" >
2014-02-13 18:36:49 +01:00
< strong > Oh snap!< / strong > < a href = "#" class = "alert-link" > Change a few things up< / a > and try submitting again.
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-success"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "alert-link"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /a> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-info"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "alert-link"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /a> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-warning"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "alert-link"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /a> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "alert alert-danger"< / span > < span class = "na" > role=< / span > < span class = "s" > "alert"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "alert-link"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /a> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "progress" class = "page-header" > Progress bars< / h1 >
< p class = "lead" > Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-callout bs-callout-danger" id = "callout-progress-animation-css3" >
2014-02-13 18:36:49 +01:00
< 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 >
2015-03-16 16:57:29 +01:00
< h2 id = "progress-basic" > Basic example< / h2 >
2014-02-13 18:36:49 +01:00
< p > Default progress bar.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-progress-bar" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "60"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 60%;"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 60% Complete< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "progress-label" > With label< / h2 >
2014-12-22 21:52:56 +01:00
< p > Remove the < code > < span> < / code > with < code > .sr-only< / code > class from within the progress bar to show a visible percentage.< / p >
< div class = "bs-example" data-example-id = "progress-bar-with-label" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "60"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 60%;"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
60%
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2015-01-19 18:10:41 +01:00
< p > To ensure that the label text remains legible even for low percentages, consider adding a < code > min-width< / code > to the progress bar.< / p >
< div class = "bs-example" data-example-id = "progress-bar-at-low-percentage" >
2014-06-26 18:46:59 +02:00
< div class = "progress" >
2015-01-19 18:10:41 +01:00
< div class = "progress-bar" role = "progressbar" aria-valuenow = "0" aria-valuemin = "0" aria-valuemax = "100" style = "min-width: 2em;" >
2014-06-26 18:46:59 +02:00
0%
< / div >
< / div >
< div class = "progress" >
2015-01-19 18:10:41 +01:00
< div class = "progress-bar" role = "progressbar" aria-valuenow = "2" aria-valuemin = "0" aria-valuemax = "100" style = "min-width: 2em; width: 2%;" >
2014-06-26 18:46:59 +02:00
2%
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "min-width: 2em;"< / span > < span class = "nt" > > < / span >
2014-06-26 18:46:59 +02:00
0%
< span class = "nt" > < /div> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "2"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "min-width: 2em; width: 2%;"< / span > < span class = "nt" > > < / span >
2014-06-26 18:46:59 +02:00
2%
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "progress-alternatives" > Contextual alternatives< / h2 >
2014-02-13 18:36:49 +01:00
< p > Progress bars use some of the same button and alert classes for consistent styles.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "contextual-progress-bar" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / 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 >
< / div >
< / 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 >
< / div >
< / 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 >
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-success"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "40"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 40%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 40% Complete (success)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-info"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "20"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 20%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 20% Complete< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-warning"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "60"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 60%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 60% Complete (warning)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-danger"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "80"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 80%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 80% Complete (danger)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "progress-striped" > Striped< / h2 >
< p > Uses a gradient to create a striped effect. Not available in IE9 and below.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "striped-progress-bar" >
2014-06-26 18:46:59 +02:00
< div class = "progress" >
< div class = "progress-bar progress-bar-success progress-bar-striped" role = "progressbar" aria-valuenow = "40" aria-valuemin = "0" aria-valuemax = "100" style = "width: 40%" >
2014-02-13 18:36:49 +01:00
< span class = "sr-only" > 40% Complete (success)< / span >
< / div >
< / div >
2014-06-26 18:46:59 +02:00
< div class = "progress" >
< div class = "progress-bar progress-bar-info progress-bar-striped" role = "progressbar" aria-valuenow = "20" aria-valuemin = "0" aria-valuemax = "100" style = "width: 20%" >
2014-02-13 18:36:49 +01:00
< span class = "sr-only" > 20% Complete< / span >
< / div >
< / div >
2014-06-26 18:46:59 +02:00
< div class = "progress" >
< div class = "progress-bar progress-bar-warning progress-bar-striped" role = "progressbar" aria-valuenow = "60" aria-valuemin = "0" aria-valuemax = "100" style = "width: 60%" >
2014-02-13 18:36:49 +01:00
< span class = "sr-only" > 60% Complete (warning)< / span >
< / div >
< / div >
2014-06-26 18:46:59 +02:00
< div class = "progress" >
< div class = "progress-bar progress-bar-danger progress-bar-striped" role = "progressbar" aria-valuenow = "80" aria-valuemin = "0" aria-valuemax = "100" style = "width: 80%" >
2014-02-13 18:36:49 +01:00
< span class = "sr-only" > 80% Complete (danger)< / span >
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-success progress-bar-striped"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "40"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 40%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 40% Complete (success)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-info progress-bar-striped"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "20"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 20%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 20% Complete< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-warning progress-bar-striped"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "60"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 60%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 60% Complete (warning)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-danger progress-bar-striped"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "80"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 80%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 80% Complete (danger)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "progress-animated" > Animated< / h2 >
2014-06-26 18:46:59 +02:00
< p > Add < code > .active< / code > to < code > .progress-bar-striped< / code > to animate the stripes right to left. Not available in IE9 and below.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "animated-progress-bar" >
2014-06-26 18:46:59 +02:00
< div class = "progress" >
2014-10-29 20:17:44 +01:00
< div class = "progress-bar progress-bar-striped" role = "progressbar" aria-valuenow = "45" aria-valuemin = "0" aria-valuemax = "100" style = "width: 45%" > < span class = "sr-only" > 45% Complete< / span > < / div >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< button type = "button" class = "btn btn-default bs-docs-activate-animated-progressbar" data-toggle = "button" aria-pressed = "false" autocomplete = "off" > Toggle animation< / button >
2014-02-13 18:36:49 +01:00
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-striped active"< / span > < span class = "na" > role=< / span > < span class = "s" > "progressbar"< / span > < span class = "na" > aria-valuenow=< / span > < span class = "s" > "45"< / span > < span class = "na" > aria-valuemin=< / span > < span class = "s" > "0"< / span > < span class = "na" > aria-valuemax=< / span > < span class = "s" > "100"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 45%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 45% Complete< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "progress-stacked" > Stacked< / h2 >
2014-02-13 18:36:49 +01:00
< p > Place multiple bars into the same < code > .progress< / code > to stack them.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "stacked-progress-bar" >
2014-02-13 18:36:49 +01:00
< div class = "progress" >
< div class = "progress-bar progress-bar-success" style = "width: 35%" >
< span class = "sr-only" > 35% Complete (success)< / span >
< / div >
2014-06-26 18:46:59 +02:00
< div class = "progress-bar progress-bar-warning progress-bar-striped" style = "width: 20%" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-success"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 35%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 35% Complete (success)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-warning progress-bar-striped"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 20%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 20% Complete (warning)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "progress-bar progress-bar-danger"< / span > < span class = "na" > style=< / span > < span class = "s" > "width: 10%"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "sr-only"< / span > < span class = "nt" > > < / span > 10% Complete (danger)< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "media" class = "page-header" > Media object< / h1 >
< 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 >
2015-03-16 16:57:29 +01:00
< h2 id = "media-default" > Default media< / h2 >
2014-10-29 20:17:44 +01:00
< p > The default media displays a media object (images, video, audio) to the left or right of a content block.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "default-media" >
2014-02-13 18:36:49 +01:00
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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.
< / div >
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "media" >
< 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 >
2015-01-19 18:10:41 +01:00
< div class = "media-right" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-10-29 20:17:44 +01:00
< / div >
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "media-body" >
2014-11-12 18:15:07 +01:00
< h4 class = "media-heading" > Media heading< / h4 >
2014-10-29 20:17:44 +01:00
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 >
2015-01-19 18:10:41 +01:00
< div class = "media-right" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-10-29 20:17:44 +01:00
< / div >
2014-02-13 18:36:49 +01:00
< / div > <!-- /.bs - example -->
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media-left"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < img< / span > < span class = "na" > class=< / span > < span class = "s" > "media-object"< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "na" > alt=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media-body"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < h4< / span > < span class = "na" > class=< / span > < span class = "s" > "media-heading"< / span > < span class = "nt" > > < / span > Media heading< span class = "nt" > < /h4> < / span >
...
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
< p > The classes < code > .pull-left< / code > and < code > .pull-right< / code > also exist and were previously used as part of the media component, but are deprecated for that use as of v3.3.0. They are approximately equivalent to < code > .media-left< / code > and < code > .media-right< / code > , except that < code > .media-right< / code > should be placed after the < code > .media-body< / code > in the html.< / p >
2015-03-16 16:57:29 +01:00
< h2 id = "media-alignment" > Media alignment< / h2 >
2014-10-29 20:17:44 +01:00
< p > The images or other media can be aligned top, middle, or bottom. The default is top aligned.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "media-alignment" >
2014-10-29 20:17:44 +01:00
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "media-body" >
< h4 class = "media-heading" > Top aligned media< / 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. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.< / p >
< p > Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.< / p >
< / div >
< / div >
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left media-middle" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "media-body" >
< h4 class = "media-heading" > Middle aligned media< / 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. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.< / p >
< p > Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.< / p >
< / div >
< / div >
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left media-bottom" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "media-body" >
< h4 class = "media-heading" > Bottom aligned media< / 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. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.< / p >
< p > Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.< / p >
< / div >
< / div >
< / div >
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media-left media-middle"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < img< / span > < span class = "na" > class=< / span > < span class = "s" > "media-object"< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "na" > alt=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media-body"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < h4< / span > < span class = "na" > class=< / span > < span class = "s" > "media-heading"< / span > < span class = "nt" > > < / span > Middle aligned media< span class = "nt" > < /h4> < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "media-list" > Media list< / h2 >
2014-02-13 18:36:49 +01:00
< p > With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "media-list" >
2014-02-13 18:36:49 +01:00
< ul class = "media-list" >
< li class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div >
<!-- Nested media object -->
< div class = "media" >
2015-01-19 18:10:41 +01:00
< div class = "media-left" >
< a href = "#" >
< img class = "media-object" data-src = "holder.js/64x64" alt = "Generic placeholder image" >
< / a >
< / div >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / li >
< / ul >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "media-list"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "media"< / span > < span class = "nt" > > < / span >
2015-01-19 18:10:41 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media-left"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < img< / span > < span class = "na" > class=< / span > < span class = "s" > "media-object"< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "na" > alt=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < / span >
< span class = "nt" > < /a> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "media-body"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < h4< / span > < span class = "na" > class=< / span > < span class = "s" > "media-heading"< / span > < span class = "nt" > > < / span > Media heading< span class = "nt" > < /h4> < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "list-group" class = "page-header" > List group< / h1 >
< 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 >
2015-03-16 16:57:29 +01:00
< h2 id = "list-group-basic" > Basic example< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-list-group" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Cras justo odio< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Morbi leo risus< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "list-group-badges" > Badges< / h2 >
2014-02-13 18:36:49 +01:00
< p > Add the badges component to any list group item and it will automatically be positioned on the right.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "list-group-badges" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < span< / span > < span class = "na" > class=< / span > < span class = "s" > "badge"< / span > < span class = "nt" > > < / span > 14< span class = "nt" > < /span> < / span >
2014-02-13 18:36:49 +01:00
Cras justo odio
< span class = "nt" > < /li> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /ul> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "list-group-linked" > Linked items< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "list-group-anchors" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item active"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Cras justo odio
< span class = "nt" > < /a> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Morbi leo risus< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /a> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2015-06-16 18:50:35 +02:00
< h2 id = "list-group-buttons" > Button items< / h2 >
< p > List group items may be buttons 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. < strong class = "text-danger" > Don't use the standard < code > .btn< / code > classes here.< / strong > < / p >
< div class = "bs-example" data-example-id = "list-group-btns" >
< div class = "list-group" >
< button type = "button" class = "list-group-item" > Cras justo odio< / button >
< button type = "button" class = "list-group-item" > Dapibus ac facilisis in< / button >
< button type = "button" class = "list-group-item" > Morbi leo risus< / button >
< button type = "button" class = "list-group-item" > Porta ac consectetur ac< / button >
< button type = "button" class = "list-group-item" > Vestibulum at eros< / button >
< / div >
< / div >
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Cras justo odio< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Morbi leo risus< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /button> < / span >
< span class = "nt" > < button< / span > < span class = "na" > type=< / span > < span class = "s" > "button"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /button> < / span >
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2015-03-16 16:57:29 +01:00
< h2 id = "list-group-disabled" > Disabled items< / h2 >
2014-06-26 18:46:59 +02:00
< p > Add < code > .disabled< / code > to a < code > .list-group-item< / code > to gray it out to appear disabled.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "list-group-disabled" >
2014-06-26 18:46:59 +02:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item disabled"< / span > < span class = "nt" > > < / span >
2014-06-26 18:46:59 +02:00
Cras justo odio
< span class = "nt" > < /a> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Morbi leo risus< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /a> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "list-group-contextual-classes" > Contextual classes< / h2 >
2014-02-13 18:36:49 +01:00
< p > Use contextual classes to style list items, default or linked. Also includes < code > .active< / code > state.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "list-group-variants" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-success"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-info"< / span > < span class = "nt" > > < / span > Cras sit amet nibh libero< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-warning"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-danger"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-success"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-info"< / span > < span class = "nt" > > < / span > Cras sit amet nibh libero< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-warning"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /a> < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item list-group-item-danger"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /a> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "list-group-custom-content" > Custom content< / h2 >
2014-02-13 18:36:49 +01:00
< p > Add nearly any HTML within, even for linked list groups like the one below.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "list-group-custom-content" >
2014-02-13 18:36:49 +01:00
< 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 >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < a< / span > < span class = "na" > href=< / span > < span class = "s" > "#"< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item active"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < h4< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item-heading"< / span > < span class = "nt" > > < / span > List group item heading< span class = "nt" > < /h4> < / span >
< span class = "nt" > < p< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item-text"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /p> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /a> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
< div class = "bs-docs-section" >
< h1 id = "panels" class = "page-header" > Panels< / h1 >
< 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 >
2015-03-16 16:57:29 +01:00
< h2 id = "panels-basic" > Basic example< / h2 >
2014-02-13 18:36:49 +01:00
< p > By default, all the < code > .panel< / code > does is apply some basic border and padding to contain some content.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "simple-panel" >
2014-02-13 18:36:49 +01:00
< div class = "panel panel-default" >
< div class = "panel-body" >
Basic panel example
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-body"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Basic panel example
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "panels-heading" > Panel with heading< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-06-26 18:46:59 +02:00
< p > For proper link coloring, be sure to place links in headings within < code > .panel-title< / code > .< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "panel-with-heading" >
2014-02-13 18:36:49 +01:00
< div class = "panel panel-default" >
< div class = "panel-heading" > Panel heading without title< / div >
< div class = "panel-body" >
Panel content
< / div >
< / div >
< div class = "panel panel-default" >
< div class = "panel-heading" >
< h3 class = "panel-title" > Panel title< / h3 >
< / div >
< div class = "panel-body" >
Panel content
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-heading"< / span > < span class = "nt" > > < / span > Panel heading without title< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-body"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Panel content
< span class = "nt" > < /div> < / span >
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-heading"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < h3< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-title"< / span > < span class = "nt" > > < / span > Panel title< span class = "nt" > < /h3> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-body"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Panel content
< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "panels-footer" > Panel with footer< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "panel-with-footer" >
2014-02-13 18:36:49 +01:00
< div class = "panel panel-default" >
< div class = "panel-body" >
Panel content
< / div >
< div class = "panel-footer" > Panel footer< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-body"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
Panel content
< span class = "nt" > < /div> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-footer"< / span > < span class = "nt" > > < / span > Panel footer< span class = "nt" > < /div> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "panels-alternatives" > Contextual alternatives< / h2 >
2014-02-13 18:36:49 +01:00
< p > Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "contextual-panels" >
2014-02-13 18:36:49 +01:00
< div class = "panel panel-primary" >
< div class = "panel-heading" >
< h3 class = "panel-title" > Panel title< / h3 >
< / div >
< div class = "panel-body" >
Panel content
< / div >
< / div >
< div class = "panel panel-success" >
< div class = "panel-heading" >
< h3 class = "panel-title" > Panel title< / h3 >
< / div >
< div class = "panel-body" >
Panel content
< / div >
< / 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
< / div >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-primary"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-success"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-info"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-warning"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-danger"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "panels-tables" > With tables< / h2 >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "table-within-panel" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< th scope = "row" > 1< / th >
2014-02-13 18:36:49 +01:00
< td > Mark< / td >
< td > Otto< / td >
< td > @mdo< / td >
< / tr >
< tr >
2014-12-22 21:58:47 +01:00
< th scope = "row" > 2< / th >
2014-02-13 18:36:49 +01:00
< td > Jacob< / td >
< td > Thornton< / td >
< td > @fat< / td >
< / tr >
< tr >
2014-12-22 21:58:47 +01:00
< th scope = "row" > 3< / th >
2014-02-13 18:36:49 +01:00
< td > Larry< / td >
< td > the Bird< / td >
< td > @twitter< / td >
< / tr >
< / tbody >
< / table >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Default panel contents --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-heading"< / span > < span class = "nt" > > < / span > Panel heading< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-body"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < p> < / span > ...< span class = "nt" > < /p> < / span >
< span class = "nt" > < /div> < / span >
< span class = "c" > < !-- Table --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < table< / span > < span class = "na" > class=< / span > < span class = "s" > "table"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /table> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< p > If there is no panel body, the component moves from panel header to table without interruption.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "panel-without-body-with-table" >
2014-02-13 18:36:49 +01:00
< 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 >
2014-12-22 21:58:47 +01:00
< th scope = "row" > 1< / th >
2014-02-13 18:36:49 +01:00
< td > Mark< / td >
< td > Otto< / td >
< td > @mdo< / td >
< / tr >
< tr >
2014-12-22 21:58:47 +01:00
< th scope = "row" > 2< / th >
2014-02-13 18:36:49 +01:00
< td > Jacob< / td >
< td > Thornton< / td >
< td > @fat< / td >
< / tr >
< tr >
2014-12-22 21:58:47 +01:00
< th scope = "row" > 3< / th >
2014-02-13 18:36:49 +01:00
< td > Larry< / td >
< td > the Bird< / td >
< td > @twitter< / td >
< / tr >
< / tbody >
< / table >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Default panel contents --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-heading"< / span > < span class = "nt" > > < / span > Panel heading< span class = "nt" > < /div> < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Table --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < table< / span > < span class = "na" > class=< / span > < span class = "s" > "table"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
...
< span class = "nt" > < /table> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2015-03-16 16:57:29 +01:00
< h2 id = "panels-list-group" > With list groups< / h2 >
2014-02-13 18:36:49 +01:00
< p > Easily include full-width < a href = "#list-group" > list groups< / a > within any panel.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "panel-with-list-group" >
2014-02-13 18:36:49 +01:00
< 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 >
<!-- 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 >
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel panel-default"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "c" > < !-- Default panel contents --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-heading"< / span > < span class = "nt" > > < / span > Panel heading< span class = "nt" > < /div> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "panel-body"< / span > < span class = "nt" > > < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < p> < / span > ...< span class = "nt" > < /p> < / span >
< span class = "nt" > < /div> < / span >
< span class = "c" > < !-- List group --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < ul< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Cras justo odio< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Dapibus ac facilisis in< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Morbi leo risus< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Porta ac consectetur ac< span class = "nt" > < /li> < / span >
< span class = "nt" > < li< / span > < span class = "na" > class=< / span > < span class = "s" > "list-group-item"< / span > < span class = "nt" > > < / span > Vestibulum at eros< span class = "nt" > < /li> < / span >
2014-02-13 18:36:49 +01:00
< span class = "nt" > < /ul> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
2014-06-26 18:46:59 +02:00
< 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 >
2014-10-29 20:17:44 +01:00
< p > Rules are directly applied to < code > < iframe> < / code > , < code > < embed> < / code > , < code > < video> < / code > , and < code > < object> < / code > elements; optionally use an explicit descendant class < code > .embed-responsive-item< / code > when you want to match the styling for other attributes.< / p >
2014-06-26 18:46:59 +02:00
< 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 >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "responsive-embed-16by9-iframe-youtube" >
2014-06-26 18:46:59 +02:00
< 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 >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "c" > < !-- 16:9 aspect ratio --> < / span >
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "embed-responsive embed-responsive-16by9"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < iframe< / span > < span class = "na" > class=< / span > < span class = "s" > "embed-responsive-item"< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < /iframe> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span >
2014-02-13 18:36:49 +01:00
2014-06-26 18:46:59 +02:00
< span class = "c" > < !-- 4:3 aspect ratio --> < / span >
2014-10-29 20:17:44 +01:00
< span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "embed-responsive embed-responsive-4by3"< / span > < span class = "nt" > > < / span >
< span class = "nt" > < iframe< / span > < span class = "na" > class=< / span > < span class = "s" > "embed-responsive-item"< / span > < span class = "na" > src=< / span > < span class = "s" > "..."< / span > < span class = "nt" > > < /iframe> < / span >
2014-06-26 18:46:59 +02:00
< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
< / div >
2014-02-13 18:36:49 +01:00
< div class = "bs-docs-section" >
< h1 id = "wells" class = "page-header" > Wells< / h1 >
2015-03-16 16:57:29 +01:00
< h2 > Default well< / h2 >
2014-02-13 18:36:49 +01:00
< p > Use the well as a simple effect on an element to give it an inset effect.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "default-well" >
2014-02-13 18:36:49 +01:00
< div class = "well" >
Look, I'm in a well!
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "well"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2015-03-16 16:57:29 +01:00
< h2 > Optional classes< / h2 >
2014-02-13 18:36:49 +01:00
< p > Control padding and rounded corners with two optional modifier classes.< / p >
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "large-well" >
2014-02-13 18:36:49 +01:00
< div class = "well well-lg" >
Look, I'm in a large well!
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "well well-lg"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
2014-12-22 21:52:56 +01:00
< div class = "bs-example" data-example-id = "small-well" >
2014-02-13 18:36:49 +01:00
< div class = "well well-sm" >
Look, I'm in a small well!
< / div >
< / div >
2014-10-29 20:17:44 +01:00
< div class = "highlight" > < pre > < code class = "language-html" data-lang = "html" > < span class = "nt" > < div< / span > < span class = "na" > class=< / span > < span class = "s" > "well well-sm"< / span > < span class = "nt" > > < / span > ...< span class = "nt" > < /div> < / span > < / code > < / pre > < / div >
2014-02-13 18:36:49 +01:00
< / div >
2014-06-26 18:46:59 +02:00
2014-02-13 18:36:49 +01:00
< / div >
2015-03-16 16:57:29 +01:00
2014-12-22 21:52:56 +01:00
< div class = "col-md-3" role = "complementary" >
< nav class = "bs-docs-sidebar hidden-print hidden-xs hidden-sm" >
2014-02-13 18:36:49 +01:00
< ul class = "nav bs-docs-sidenav" >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< li >
< a href = "#glyphicons" > Glyphicons< / a >
< ul class = "nav" >
< li > < a href = "#glyphicons-glyphs" > Available glyphs< / a > < / li >
< li > < a href = "#glyphicons-how-to-use" > How to use< / a > < / li >
< li > < a href = "#glyphicons-examples" > Examples< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#dropdowns" > Dropdowns< / a >
< ul class = "nav" >
< li > < a href = "#dropdowns-example" > Example< / a > < / li >
2014-11-12 18:15:07 +01:00
< li > < a href = "#dropdowns-alignment" > Alignment< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#dropdowns-headers" > Headers< / a > < / li >
2014-10-29 20:17:44 +01:00
< li > < a href = "#dropdowns-divider" > Divider< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#dropdowns-disabled" > Disabled menu items< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#btn-groups" > Button groups< / a >
< ul class = "nav" >
< li > < a href = "#btn-groups-single" > Basic example< / a > < / li >
< li > < a href = "#btn-groups-toolbar" > Button toolbar< / a > < / li >
< li > < a href = "#btn-groups-sizing" > Sizing< / a > < / li >
< li > < a href = "#btn-groups-nested" > Nesting< / a > < / li >
< li > < a href = "#btn-groups-vertical" > Vertical variation< / a > < / li >
2014-11-12 18:15:07 +01:00
< li > < a href = "#btn-groups-justified" > Justified button groups< / a > < / li >
2014-02-13 18:36:49 +01:00
< / ul >
< / li >
< li >
< a href = "#btn-dropdowns" > Button dropdowns< / a >
< ul class = "nav" >
< li > < a href = "#btn-dropdowns-single" > Single button dropdowns< / a > < / li >
< li > < a href = "#btn-dropdowns-split" > Split button dropdowns< / a > < / li >
< li > < a href = "#btn-dropdowns-sizing" > Sizing< / a > < / li >
< li > < a href = "#btn-dropdowns-dropup" > Dropup variation< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#input-groups" > Input groups< / a >
< ul class = "nav" >
< li > < a href = "#input-groups-basic" > Basic example< / a > < / li >
< li > < a href = "#input-groups-sizing" > Sizing< / a > < / li >
< li > < a href = "#input-groups-checkboxes-radios" > Checkbox and radios addons< / a > < / li >
< li > < a href = "#input-groups-buttons" > Button addons< / a > < / li >
< li > < a href = "#input-groups-buttons-dropdowns" > Buttons with dropdowns< / a > < / li >
< li > < a href = "#input-groups-buttons-segmented" > Segmented buttons< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#nav" > Navs< / a >
< ul class = "nav" >
< li > < a href = "#nav-tabs" > Tabs< / a > < / li >
< li > < a href = "#nav-pills" > Pills< / a > < / li >
2014-11-12 18:15:07 +01:00
< li > < a href = "#nav-justified" > Justified< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#nav-disabled-links" > Disabled links< / a > < / li >
< li > < a href = "#nav-dropdowns" > Using dropdowns< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#navbar" > Navbar< / a >
< ul class = "nav" >
< li > < a href = "#navbar-default" > Default navbar< / a > < / li >
2014-10-21 04:08:10 +02:00
< li > < a href = "#navbar-brand-image" > Brand image< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#navbar-forms" > Forms< / a > < / li >
< li > < a href = "#navbar-buttons" > Buttons< / a > < / li >
< li > < a href = "#navbar-text" > Text< / a > < / li >
< li > < a href = "#navbar-links" > Non-nav links< / a > < / li >
< li > < a href = "#navbar-component-alignment" > Component alignment< / a > < / li >
< li > < a href = "#navbar-fixed-top" > Fixed to top< / a > < / li >
< li > < a href = "#navbar-fixed-bottom" > Fixed to bottom< / a > < / li >
< li > < a href = "#navbar-static-top" > Static top< / a > < / li >
< li > < a href = "#navbar-inverted" > Inverted navbar< / a > < / li >
< / ul >
< / li >
< li > < a href = "#breadcrumbs" > Breadcrumbs< / a > < / li >
< li >
< a href = "#pagination" > Pagination< / a >
< ul class = "nav" >
< li > < a href = "#pagination-default" > Default pagination< / a > < / li >
< li > < a href = "#pagination-pager" > Pager< / a > < / li >
< / ul >
< / li >
< li > < a href = "#labels" > Labels< / a > < / li >
< li > < a href = "#badges" > Badges< / a > < / li >
< li > < a href = "#jumbotron" > Jumbotron< / a > < / li >
< li > < a href = "#page-header" > Page header< / a > < / li >
< li >
< a href = "#thumbnails" > Thumbnails< / a >
< ul class = "nav" >
< li > < a href = "#thumbnails-default" > Default example< / a > < / li >
< li > < a href = "#thumbnails-custom-content" > Custom content< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#alerts" > Alerts< / a >
< ul class = "nav" >
< li > < a href = "#alerts-examples" > Examples< / a > < / li >
2014-06-26 18:46:59 +02:00
< li > < a href = "#alerts-dismissible" > Dismissible alerts< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#alerts-links" > Links in alerts< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#progress" > Progress bars< / a >
< ul class = "nav" >
< li > < a href = "#progress-basic" > Basic example< / a > < / li >
< li > < a href = "#progress-label" > With label< / a > < / li >
< li > < a href = "#progress-alternatives" > Contextual alternatives< / a > < / li >
< li > < a href = "#progress-striped" > Striped< / a > < / li >
< li > < a href = "#progress-animated" > Animated< / a > < / li >
< li > < a href = "#progress-stacked" > Stacked< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#media" > Media object< / a >
< ul class = "nav" >
< li > < a href = "#media-default" > Default media< / a > < / li >
< li > < a href = "#media-list" > Media list< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#list-group" > List group< / a >
< ul class = "nav" >
< li > < a href = "#list-group-basic" > Basic example< / a > < / li >
< li > < a href = "#list-group-badges" > Badges< / a > < / li >
< li > < a href = "#list-group-linked" > Linked items< / a > < / li >
2015-06-16 18:50:35 +02:00
< li > < a href = "#list-group-buttons" > Button items< / a > < / li >
2014-06-26 18:46:59 +02:00
< li > < a href = "#list-group-disabled" > Disabled items< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#list-group-contextual-classes" > Contextual classes< / a > < / li >
< li > < a href = "#list-group-custom-content" > Custom content< / a > < / li >
< / ul >
< / li >
< li >
< a href = "#panels" > Panels< / a >
< ul class = "nav" >
< li > < a href = "#panels-basic" > Basic example< / a > < / li >
< li > < a href = "#panels-heading" > Panel with heading< / a > < / li >
2015-06-16 18:50:35 +02:00
< li > < a href = "#panels-footer" > Panel with footer< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#panels-alternatives" > Contextual alternatives< / a > < / li >
< li > < a href = "#panels-tables" > With tables< / a >
< li > < a href = "#panels-list-group" > With list groups< / a >
< / ul >
< / li >
2014-06-26 18:46:59 +02:00
< li > < a href = "#responsive-embed" > Responsive embed< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > < a href = "#wells" > Wells< / a > < / li >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< / ul >
< a class = "back-to-top" href = "#top" >
Back to top
< / a >
2015-03-16 16:57:29 +01:00
2014-10-29 20:17:44 +01:00
< a href = "#" class = "bs-docs-theme-toggle" role = "button" >
2014-06-26 18:46:59 +02:00
Preview theme
< / a >
2015-03-16 16:57:29 +01:00
2014-12-22 21:52:56 +01:00
< / nav >
2014-02-13 18:36:49 +01:00
< / div >
2015-03-16 16:57:29 +01:00
2014-02-13 18:36:49 +01:00
< / div >
< / div >
<!-- Footer
================================================== -->
< footer class = "bs-docs-footer" role = "contentinfo" >
< div class = "container" >
< div class = "bs-docs-social" >
< ul class = "bs-docs-social-buttons" >
< li >
2015-06-16 18:50:35 +02:00
< iframe class = "github-btn" src = "https://ghbtns.com/github-btn.html?user=twbs&repo=bootstrap&type=watch&count=true" width = "100" height = "20" title = "Star on GitHub" > < / iframe >
2014-02-13 18:36:49 +01:00
< / li >
< li >
2015-06-16 18:50:35 +02:00
< iframe class = "github-btn" src = "https://ghbtns.com/github-btn.html?user=twbs&repo=bootstrap&type=fork&count=true" width = "102" height = "20" title = "Fork on GitHub" > < / iframe >
2014-02-13 18:36:49 +01:00
< / li >
< li class = "follow-btn" >
2015-02-06 04:40:29 +01:00
< a href = "https://twitter.com/getbootstrap" class = "twitter-follow-button" data-link-color = "#0069D6" data-show-count = "true" > Follow @getbootstrap< / a >
2014-02-13 18:36:49 +01:00
< / li >
< li class = "tweet-btn" >
2015-02-06 04:40:29 +01:00
< a href = "https://twitter.com/share" class = "twitter-share-button" data-url = "http://getbootstrap.com/" data-count = "horizontal" data-via = "getbootstrap" data-related = "mdo:Creator of Bootstrap" > Tweet< / a >
2014-02-13 18:36:49 +01:00
< / li >
< / ul >
< / div >
2014-10-29 20:17:44 +01:00
< p > Designed and built with all the love in the world by < a href = "https://twitter.com/mdo" target = "_blank" > @mdo< / a > and < a href = "https://twitter.com/fat" target = "_blank" > @fat< / a > .< / p >
< p > Maintained by the < a href = "https://github.com/orgs/twbs/people" > core team< / a > with the help of < a href = "https://github.com/twbs/bootstrap/graphs/contributors" > our contributors< / a > .< / p >
2015-03-16 16:57:29 +01:00
< p > Code licensed under < a rel = "license" href = "https://github.com/twbs/bootstrap/blob/master/LICENSE" target = "_blank" > MIT< / a > , documentation under < a rel = "license" href = "https://creativecommons.org/licenses/by/3.0/" target = "_blank" > CC BY 3.0< / a > .< / p >
2014-12-22 21:52:56 +01:00
< ul class = "bs-docs-footer-links text-muted" >
2015-06-16 18:50:35 +02:00
< li > Currently v3.3.5< / li >
2014-02-13 18:36:49 +01:00
< li > · < / li >
< li > < a href = "https://github.com/twbs/bootstrap" > GitHub< / a > < / li >
< li > · < / li >
< li > < a href = "../getting-started/#examples" > Examples< / a > < / li >
< li > · < / li >
< li > < a href = "../2.3.2/" > v2.3.2 docs< / a > < / li >
< li > · < / li >
< li > < a href = "../about/" > About< / a > < / li >
< li > · < / li >
< li > < a href = "http://expo.getbootstrap.com" > Expo< / a > < / li >
< li > · < / li >
< li > < a href = "http://blog.getbootstrap.com" > Blog< / a > < / li >
< li > · < / li >
2014-10-29 20:17:44 +01:00
< li > < a href = "https://github.com/twbs/bootstrap/issues" > Issues< / a > < / li >
2014-02-13 18:36:49 +01:00
< li > · < / li >
< li > < a href = "https://github.com/twbs/bootstrap/releases" > Releases< / a > < / li >
< / ul >
< / div >
< / footer >
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
2015-06-16 18:50:35 +02:00
< script src = "https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" > < / script >
2014-10-29 20:17:44 +01:00
2015-06-16 22:13:14 +02:00
< script src = "../dist/js/bootstrap.min.js" > < / script >
2014-10-29 20:17:44 +01:00
2015-06-16 22:13:14 +02:00
< script src = "../assets/js/docs.min.js" > < / script >
2014-10-29 20:17:44 +01:00
2014-02-13 18:36:49 +01:00
2014-08-28 05:51:32 +02:00
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
< script src = "../assets/js/ie10-viewport-bug-workaround.js" > < / script >
2014-02-13 18:36:49 +01:00
< script >
window.twttr = (function (d,s,id) {
var t, js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.async=1;
js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
}(document, "script", "twitter-wjs"));
< / script >
<!-- Analytics
================================================== -->
< script >
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
< / script >
< / body >
< / html >