components.html 71.03 KiB
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Components · Twitter Bootstrap</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <link href="assets/css/bootstrap.css" rel="stylesheet">
    <link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="assets/css/docs.css" rel="stylesheet">
    <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
  </head>
  <body>
    <!-- Navbar
    ================================================== -->
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="bs-docs-container">
          <button type="button"class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="brand" href="./index.html">Bootstrap</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="">
                <a href="./index.html">Home</a>
              </li>
              <li class="">
                <a href="./scaffolding.html">Scaffolding</a>
              </li>
              <li class="">
                <a href="./base-css.html">Base CSS</a>
              </li>
              <li class="active">
                <a href="./components.html">Components</a>
              </li>
              <li class="">
                <a href="./javascript.html">Javascript</a>
              </li>
              <li class="">
                <a href="./less.html">LESS</a>
              </li>
              <li class="divider-vertical"></li>
              <li class="">
                <a href="./download.html">Customize</a>
              </li>
              <li class="">
                <a href="./examples.html">Examples</a>
              </li>
            </ul>
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
</div> </div> </div> </div> <div class="bs-docs-nav"> <h3 class="bs-docs-logo"><a href="./index.html">Bootstrap</a></h3> <ul class="bs-nav"> <li class=""> <a href="./scaffolding.html">Scaffolding</a> <ul> <li><a href="./scaffolding.html#global">Global styles</a></li> <li><a href="./scaffolding.html#gridSystem">Grid system</a></li> <li><a href="./scaffolding.html#fluidGridSystem">Fluid grid system</a></li> <li><a href="./scaffolding.html#gridCustomization">Customizing</a></li> <li><a href="./scaffolding.html#layouts">Layouts</a></li> <li><a href="./scaffolding.html#responsive">Responsive design</a></li> </ul> </li> <li class=""> <a href="./base-css.html">Base CSS</a> <ul> <li><a href="./base-css.html#typography">Typography</a></li> <li><a href="./base-css.html#code">Code</a></li> <li><a href="./base-css.html#tables">Tables</a></li> <li><a href="./base-css.html#forms">Forms</a></li> <li><a href="./base-css.html#buttons">Buttons</a></li> <li><a href="./base-css.html#icons">Icons by Glyphicons</a></li> </ul> </li> <li class="active"> <a href="./components.html">Components</a> <ul> <li><a href="./components.html#buttonGroups">Button groups</a></li> <li><a href="./components.html#buttonDropdowns">Button dropdowns</a></li> <li><a href="./components.html#navs">Nav, tabs, pills</a></li> <li><a href="./components.html#navbar">Navbar</a></li> <li><a href="./components.html#breadcrumbs">Breadcrumbs</a></li> <li><a href="./components.html#pagination">Pagination</a></li> <li><a href="./components.html#labels">Labels</a></li> <li><a href="./components.html#badges">Badges</a></li> <li><a href="./components.html#typography">Typography</a></li> <li><a href="./components.html#thumbnails">Thumbnails</a></li> <li><a href="./components.html#alerts">Alerts</a></li> <li><a href="./components.html#progress">Progress bars</a></li> <li><a href="./components.html#misc">Miscellaneous</a></li> </ul> </li> <li class=""> <a href="./javascript.html">Javascript</a> <ul> <li><a href="./javascript.html#javascript">All plugins</a></li> <li><a href="./javascript.html#modals">Modal</a></li> <li><a href="./javascript.html#dropdowns">Dropdown</a></li> <li><a href="./javascript.html#scrollspy">Scrollspy</a></li> <li><a href="./javascript.html#tabs">Tab</a></li> <li><a href="./javascript.html#tooltips">Tooltip</a></li> <li><a href="./javascript.html#popovers">Popover</a></li> <li><a href="./javascript.html#alerts">Alert</a></li> <li><a href="./javascript.html#buttons">Button</a></li> <li><a href="./javascript.html#collapse">Collapse</a></li> <li><a href="./javascript.html#carousel">Carousel</a></li> <li><a href="./javascript.html#typeahead">Typeahead</a></li> </ul> </li> <li class=""> <a href="./less.html">LESS</a> <ul> <li><a href="./less.html#builtWith">Built with Less</a></li> <li><a href="./less.html#variables">Variables</a></li>
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
<li><a href="./less.html#mixins">Mixins</a></li> <li><a href="./less.html#compiling">Compiling Bootstrap</a></li> </ul> </li> <li class=""> <a href="./download.html">Customize</a> </li> <li class=""> <a href="./examples.html">Examples</a> </li> </ul> </div> <div class="bs-docs-container"> <!-- Masthead ================================================== --> <header class="jumbotron subhead" id="overview"> <h1>Components</h1> <p class="lead">Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.</p> <div class="subnav"> <ul class="nav nav-pills"> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Buttons <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#buttonGroups">Button groups</a></li> <li><a href="#buttonDropdowns">Button dropdowns</a></li> </ul> </li> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Navigation <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#navs">Nav, tabs, pills</a></li> <li><a href="#navbar">Navbar</a></li> <li><a href="#breadcrumbs">Breadcrumbs</a></li> <li><a href="#pagination">Pagination</a></li> </ul> </li> <li><a href="#labels">Labels</a></li> <li><a href="#badges">Badges</a></li> <li><a href="#typography">Typography</a></li> <li><a href="#thumbnails">Thumbnails</a></li> <li><a href="#alerts">Alerts</a></li> <li><a href="#progress">Progress bars</a></li> <li><a href="#misc">Miscellaneous</a></li> </ul> </div> </header> <!-- Button Groups ================================================== --> <section id="buttonGroups"> <div class="page-header"> <h1>Button groups <small>Join buttons for more toolbar-like functionality</small></h1> </div> <h3>Button groups</h3> <p>Use button groups to join multiple buttons together as one composite component. Build them with a series of <code>&lt;a&gt;</code> or <code>&lt;button&gt;</code> elements.</p> <h3>Best practices</h3> <p>We recommend the following guidelines for using button groups and toolbars:</p> <ul> <li>Always use the same element in a single button group, <code>&lt;a&gt;</code> or <code>&lt;button&gt;</code>.</li> <li>Don't mix buttons of different colors in the same button group.</li> <li>Use icons in addition to or instead of text, but be sure include alt and title text where appropriate.</li> </ul> <p><span class="label label-info">Related</span> Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.</p> <h3>Default example</h3> <p>Here's how the HTML looks for a standard button group built with anchor tag buttons:</p>
211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
<div class=""> <div class="btn-group" style="margin: 9px 0;"> <button class="btn">Left</button> <button class="btn">Middle</button> <button class="btn">Right</button> </div> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;button class="btn"&gt;1&lt;/button&gt; &lt;button class="btn"&gt;2&lt;/button&gt; &lt;button class="btn"&gt;3&lt;/button&gt; &lt;/div&gt; </pre> <h3>Toolbar example</h3> <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.</p> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn">1</button> <button class="btn">2</button> <button class="btn">3</button> <button class="btn">4</button> </div> <div class="btn-group"> <button class="btn">5</button> <button class="btn">6</button> <button class="btn">7</button> </div> <div class="btn-group"> <button class="btn">8</button> </div> </div> <pre class="prettyprint linenums"> &lt;div class="btn-toolbar"&gt; &lt;div class="btn-group"&gt; ... &lt;/div&gt; &lt;/div&gt; </pre> <h3>Checkbox and radio flavors</h3> <p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.</p> <p><a class="btn js-btn" href="./javascript.html#buttons">Get the javascript &raquo;</a></p> <h3>Dropdowns in button groups</h3> <p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p> </section> <!-- Split button dropdowns ================================================== --> <section id="buttonDropdowns"> <div class="page-header"> <h1>Button dropdown menus <small>Built on button groups to provide contextual menus</small></h1> </div> <h2>Button dropdowns</h2> <h3>Overview and examples</h3> <p>Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p> <div class="btn-toolbar" style="margin-top: 18px;"> <div class="btn-group"> <button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group -->
281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
<div class="btn-group"> <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">Danger <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Warning <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">Success <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">Info <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">Inverse <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <h3>Example markup</h3> <p>Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.</p> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt; Action
351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
&lt;span class="caret"&gt;&lt;/span&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Works with all button sizes</h3> <p>Button dropdowns work at any size. your button sizes to <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.</p> <div class="btn-toolbar" style="margin-top: 18px;"> <div class="btn-group"> <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">Large button <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">Small button <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">Mini button <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <h3>Requires javascript</h3> <p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p> <p>In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.</p> <br> <h2>Split button dropdowns</h2> <h3>Overview and examples</h3> <p>Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.</p> <div class="btn-toolbar" style="margin-top: 18px;"> <div class="btn-group"> <button class="btn">Action</button> <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-primary">Action</button> <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li>
421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
<li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-danger">Danger</button> <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-warning">Warning</button> <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-success">Success</button> <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group"> <button class="btn btn-info">Info</button> <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-inverse">Inverse</button> <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <h3>Sizes</h3> <p>Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.</p> <div class="btn-toolbar"> <div class="btn-group">
491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
<button class="btn btn-large">Large action</button> <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-small">Small action</button> <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <div class="btn-toolbar"> <div class="btn-group"> <button class="btn btn-mini">Mini action</button> <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div><!-- /btn-toolbar --> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; ... &lt;ul class="dropdown-menu pull-right"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Example markup</h3> <p>We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.</p> <pre class="prettyprint linenums"> &lt;div class="btn-group"&gt; &lt;button class="btn"&gt;Action&lt;/button&gt; &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt; &lt;span class="caret"&gt;&lt;/span&gt; &lt;/button&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> <h3>Dropup menus</h3> <p>Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.</p> <div class="btn-toolbar" style="margin-top: 9px;"> <div class="btn-group dropup"> <button class="btn">Dropup</button> <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li>
561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
<li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> <div class="btn-group dropup"> <button class="btn primary">Right dropup</button> <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button> <ul class="dropdown-menu pull-right"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div><!-- /btn-group --> </div> <pre class="prettyprint linenums"> &lt;div class="btn-group dropup"&gt; &lt;button class="btn"&gt;Dropup&lt;/button&gt; &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt; &lt;span class="caret"&gt;&lt;/span&gt; &lt;/button&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- dropdown menu links --&gt; &lt;/ul&gt; &lt;/div&gt; </pre> </section> <!-- Nav, Tabs, & Pills ================================================== --> <section id="navs"> <div class="page-header"> <h1>Nav, tabs, and pills <small>Highly customizable list-style navigation</small></h1> </div> <h2>Lightweight defaults <small>Same markup, different classes</small></h2> <h3>Powerful base class</h3> <p>All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.</p> <h3>When to use</h3> <p>Tabs and pills are great for sections of content or navigating between pages of related content.</p> <h3>Component alignment</h3> <p>To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <h3>Basic tabs</h3> <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:</p> <ul class="nav nav-tabs"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs"&gt; &lt;li class="active"&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h3>Basic pills</h3> <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p> <ul class="nav nav-pills"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li>
631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
</ul> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills"&gt; &lt;li class="active"&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <h2>Stackable <small>Make tabs or pills vertical</small></h2> <h3>How to stack 'em</h3> <p>As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.</p> <h3>Stacked tabs</h3> <ul class="nav nav-tabs nav-stacked"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs nav-stacked"&gt; ... &lt;/ul&gt; </pre> <h3>Stacked pills</h3> <ul class="nav nav-pills nav-stacked"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills nav-stacked"&gt; ... &lt;/ul&gt; </pre> <h2>Dropdowns <small>For advanced nav components</small></h2> <h3>Rich menus made easy</h3> <p>Dropdown menus in Bootstrap tabs and pills are super easy and require only a little extra HTML and a lightweight jQuery plugin.</p> <p>Head over to the Javascript page to read the docs on <a href="./javascript.html#tabs">initializing dropdowns</a> in Bootstrap.</p> <h3>Tabs with dropdowns</h3> <ul class="nav nav-tabs"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Help</a></li> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> <pre class="prettyprint linenums"> &lt;ul class="nav nav-tabs"&gt; &lt;li class="dropdown"&gt; &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#"&gt; Dropdown &lt;b class="caret"&gt;&lt;/b&gt;
701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
&lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- links --&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <h3>Pills with dropdowns</h3> <ul class="nav nav-pills"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Help</a></li> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> <pre class="prettyprint linenums"> &lt;ul class="nav nav-pills"&gt; &lt;li class="dropdown"&gt; &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#"&gt; Dropdown &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; &lt;!-- links --&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <h2>Nav lists <small>Build simple stacked navs, great for sidebars</small></h2> <h3>Application-style navigation</h3> <p>Nav lists provide a simple and easy way to build groups of nav links with optional headers. They're best used in sidebars like the Finder in OS X.</p> <p>Structurally, they're built on the same core nav styles as tabs and pills, so usage and customization are straightforward.</p> <hr> <h4>With icons</h4> <p>Nav lists are also easy to equip with icons. Add the proper <code>&lt;i&gt;</code> tag with class and you're set.</p> <h4>Horizontal dividers</h4> <p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p> <pre class="prettyprint linenums"> &lt;ul class="nav nav-list"&gt; ... &lt;li class="divider"&gt;&lt;/li&gt; ... &lt;/ul&gt; </pre> <h3>Example nav list</h3> <p>Take a list of links and add <code>class="nav nav-list"</code>:</p> <div class="well" style="padding: 8px 0;"> <ul class="nav nav-list"> <li class="nav-header">List header</li> <li class="active"><a href="#">Home</a></li> <li><a href="#">Library</a></li> <li><a href="#">Applications</a></li> <li class="nav-header">Another list header</li> <li><a href="#">Profile</a></li> <li><a href="#">Settings</a></li> <li class="divider"></li> <li><a href="#">Help</a></li>
771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
</ul> </div> <!-- /well --> <pre class="prettyprint linenums"> &lt;ul class="nav nav-list"&gt; &lt;li class="nav-header"&gt; List header &lt;/li&gt; &lt;li class="active"&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#"&gt;Library&lt;/a&gt; &lt;/li&gt; ... &lt;/ul&gt; </pre> <h3>Example with icons</h3> <p>Same example, but with <code>&lt;i&gt;</code> tags for icons.</p> <div class="well" style="padding: 8px 0;"> <ul class="nav nav-list"> <li class="nav-header">List header</li> <li class="active"><a href="#"><i class="icon-white icon-home"></i> Home</a></li> <li><a href="#"><i class="icon-book"></i> Library</a></li> <li><a href="#"><i class="icon-pencil"></i> Applications</a></li> <li class="nav-header">Another list header</li> <li><a href="#"><i class="icon-user"></i> Profile</a></li> <li><a href="#"><i class="icon-cog"></i> Settings</a></li> <li class="divider"></li> <li><a href="#"><i class="icon-flag"></i> Help</a></li> </ul> </div> <!-- /well --> <pre class="prettyprint linenums"> &lt;ul class="nav nav-list"&gt; ... &lt;li&gt; &lt;a href="#"&gt; &lt;i class="icon-book"&gt;&lt;/i&gt; Library &lt;/a&gt; &lt;/li&gt; ... &lt;/ul&gt; </pre> <h2>Tabbable nav <small>Bring tabs to life via javascript</small></h2> <h3>What's included</h3> <p>Bring your tabs to life with a simple plugin to toggle between content via tabs. Bootstrap integrates tabbable tabs in four styles: top (default), right, bottom, and left.</p> <p>Changing between them is easy and only requires changing very little markup.</p> <hr> <h4>Fade in tabs</h4> <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p> <hr> <h4>Requires jQuery plugin</h4> <p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.</p> <p><a class="btn" href="./javascript.html#tabs">Get the javascript &rarr;</a></p> <h3>Tabbable example</h3> <p>To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.</p> <div class="tabbable" style="margin-bottom: 18px;"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li> <li><a href="#tab2" data-toggle="tab">Section 2</a></li> <li><a href="#tab3" data-toggle="tab">Section 3</a></li> </ul> <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;"> <div class="tab-pane active" id="tab1"> <p>I'm in Section 1.</p>
841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910
</div> <div class="tab-pane" id="tab2"> <p>Howdy, I'm in Section 2.</p> </div> <div class="tab-pane" id="tab3"> <p>What up girl, this is Section 3.</p> </div> </div> </div> <!-- /tabbable --> <p>For right or left aligned tabs, wrap the <code>.nav-tabs</code> and <code>.tab-content</code> in <code>.tabbable</code>.</p> <h3>Straightforward markup</h3> <p>Using tabbable tabs requires a wrapping div, a set of tabs, and a set of tabbable panes of content.</p> <pre class="prettyprint linenums"> &lt;div class="tabbable"&gt; &lt;!-- Only required for left/right tabs --&gt; &lt;ul class="nav nav-tabs"&gt; &lt;li class="active"&gt;&lt;a href="#tab1" data-toggle="tab"&gt;Section 1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#tab2" data-toggle="tab"&gt;Section 2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div class="tab-content"&gt; &lt;div class="tab-pane active" id="tab1"&gt; &lt;p&gt;I'm in Section 1.&lt;/p&gt; &lt;/div&gt; &lt;div class="tab-pane" id="tab2"&gt; &lt;p&gt;Howdy, I'm in Section 2.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <h3>Tabbable in any direction</h3> <h4>Tabs on the bottom</h4> <p>Flip the order of the HTML and add a class to put tabs on the bottom.</p> <div class="tabbable tabs-below"> <div class="tab-content"> <div class="tab-pane active" id="A"> <p>I'm in Section A.</p> </div> <div class="tab-pane" id="B"> <p>Howdy, I'm in Section B.</p> </div> <div class="tab-pane" id="C"> <p>What up girl, this is Section C.</p> </div> </div> <ul class="nav nav-tabs"> <li class="active"><a href="#A" data-toggle="tab">Section 1</a></li> <li><a href="#B" data-toggle="tab">Section 2</a></li> <li><a href="#C" data-toggle="tab">Section 3</a></li> </ul> </div> <!-- /tabbable --> <pre class="prettyprint linenums" style="margin-top: 11px;"> &lt;div class="tabbable tabs-below"&gt; &lt;div class="tab-content"&gt; ... &lt;/div&gt; &lt;ul class="nav nav-tabs"&gt; ... &lt;/ul&gt; &lt;/div&gt; </pre> <h4>Tabs on the left</h4> <p>Swap the class to put tabs on the left.</p> <div class="tabbable tabs-left"> <ul class="nav nav-tabs"> <li class="active"><a href="#lA" data-toggle="tab">Section 1</a></li> <li><a href="#lB" data-toggle="tab">Section 2</a></li>
911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980
<li><a href="#lC" data-toggle="tab">Section 3</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="lA"> <p>I'm in Section A.</p> </div> <div class="tab-pane" id="lB"> <p>Howdy, I'm in Section B.</p> </div> <div class="tab-pane" id="lC"> <p>What up girl, this is Section C.</p> </div> </div> </div> <!-- /tabbable --> <pre class="prettyprint linenums"> &lt;div class="tabbable tabs-left"&gt; &lt;ul class="nav nav-tabs"&gt; ... &lt;/ul&gt; &lt;div class="tab-content"&gt; ... &lt;/div&gt; &lt;/div&gt; </pre> <h4>Tabs on the right</h4> <p>Swap the class to put tabs on the right.</p> <div class="tabbable tabs-right"> <ul class="nav nav-tabs"> <li class="active"><a href="#rA" data-toggle="tab">Section 1</a></li> <li><a href="#rB" data-toggle="tab">Section 2</a></li> <li><a href="#rC" data-toggle="tab">Section 3</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="rA"> <p>I'm in Section A.</p> </div> <div class="tab-pane" id="rB"> <p>Howdy, I'm in Section B.</p> </div> <div class="tab-pane" id="rC"> <p>What up girl, this is Section C.</p> </div> </div> </div> <!-- /tabbable --> <pre class="prettyprint linenums"> &lt;div class="tabbable tabs-right"&gt; &lt;ul class="nav nav-tabs"&gt; ... &lt;/ul&gt; &lt;div class="tab-content"&gt; ... &lt;/div&gt; &lt;/div&gt; </pre> </section> <!-- Navbar ================================================== --> <section id="navbar"> <div class="page-header"> <h1>Navbar</h1> </div> <h2>Static navbar example</h2> <p>An example of a static (not fixed to the top) navbar with project name, navigation, and search form.</p> <div class="navbar"> <div class="navbar-inner">
981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050
<div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Title</a> <div class="nav-collapse"> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li class="nav-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-search pull-left" action=""> <input type="text" class="search-query span2" placeholder="Search"> </form> <ul class="nav pull-right"> <li><a href="#">Link</a></li> <li class="divider-vertical"></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div><!-- /navbar --> <h3>Navbar scaffolding</h3> <p>The navbar requires only a few divs to structure it well for static or fixed display.</p> <pre class="prettyprint linenums"> &lt;div class="navbar"&gt; &lt;div class="navbar-inner"&gt; &lt;div class="container"&gt; ... &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <h3>Fixed navbar</h3> <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-fixed-top"&gt; ... &lt;/div&gt; </pre> <pre class="prettyprint linenums"> &lt;div class="navbar navbar-fixed-bottom"&gt; ... &lt;/div&gt;
1051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
</pre> <p>When you affix the navbar, remember to account for the hidden area underneath. Add 40px or more of padding to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p> <h3>Brand name</h3> <p>A simple link to show your brand or project name only requires an anchor tag.</p> <pre class="prettyprint linenums"> &lt;a class="brand" href="#"&gt; Project name &lt;/a&gt; </pre> <h3>Forms in navbar</h3> <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p> <pre class="prettyprint linenums"> &lt;form class="navbar-form pull-left"&gt; &lt;input type="text" class="span2"&gt; &lt;/form&gt; </pre> <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p> <pre class="prettyprint linenums"> &lt;form class="navbar-search pull-left"&gt; &lt;input type="text" class="search-query" placeholder="Search"&gt; &lt;/form&gt; </pre> <h3>Optional responsive variation</h3> <p>Depending on the amount of content in your topbar, you might want to implement the responsive options. To do so, wrap your nav content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p> <pre class="prettyprint linenums"> &lt;div class="navbar"&gt; &lt;div class="navbar-inner"&gt; &lt;div class="container"&gt; &lt;!-- .btn-navbar is used as the toggle for collapsed navbar content --&gt; &lt;a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;span class="icon-bar"&gt;&lt;/span&gt; &lt;/a&gt; &lt;!-- Be sure to leave the brand out there if you want it shown --&gt; &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt; &lt;!-- Everything you want hidden at 940px or less, place within here --&gt; &lt;div class="nav-collapse"&gt; &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </pre> <div class="alert alert-info"> <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>. </div> <h3>Nav links</h3> <p>Nav items are simple to add via unordered lists.</p> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; &lt;li class="active"&gt; &lt;a href="#">Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </pre> <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; ... &lt;li class="divider-vertical"&gt;&lt;/li&gt; ...
1121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190
&lt;/ul&gt; </pre> <h3>Component alignment</h3> <p>To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p> <h3>Adding dropdown menus</h3> <p>Adding dropdowns and dropups to the nav is super simple, but does require the use of <a href="./javascript.html#dropdowns">our javascript plugin</a>.</p> <pre class="prettyprint linenums"> &lt;ul class="nav"&gt; &lt;li class="dropdown"&gt; &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account &lt;b class="caret"&gt;&lt;/b&gt; &lt;/a&gt; &lt;ul class="dropdown-menu"&gt; ... &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <p><a class="btn" href="./javascript.html#dropdowns">Get the javascript &rarr;</a></p> <hr> <h3>Text in the navbar</h3> <p>Wrap strings of text in a <code>&lt;.navbar-text&gt;</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p> </section> <!-- Breadcrumbs ================================================== --> <section id="breadcrumbs"> <div class="page-header"> <h1>Breadcrumbs <small></small></h1> </div> <h3>Why use them</h3> <p>Breadcrumb navigation is used as a way to show users where they are within an app or a site, but not for primary navigation. Keep their use sparse and succinct to be most effective.</p> <h3>Examples</h3> <p>A single example shown as it might be displayed across multiple pages.</p> <ul class="breadcrumb"> <li class="active">Home</li> </ul> <ul class="breadcrumb"> <li><a href="#">Home</a> <span class="divider">/</span></li> <li class="active">Library</li> </ul> <ul class="breadcrumb"> <li><a href="#">Home</a> <span class="divider">/</span></li> <li><a href="#">Library</a> <span class="divider">/</span></li> <li class="active">Data</li> </ul> <h3>Markup</h3> <p>HTML is your standard unordered list with links.</p> <pre class="prettyprint linenums"> &lt;ul class="breadcrumb"&gt; &lt;li&gt; &lt;a href="#"&gt;Home&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#"&gt;Library&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt; &lt;/li&gt; &lt;li class="active"&gt;Data&lt;/li&gt; &lt;/ul&gt; </pre> </section>
1191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260
<!-- Pagination ================================================== --> <section id="pagination"> <div class="page-header"> <h1>Pagination <small>Two options for paging through content</small></h1> </div> <h2>Multicon-page pagination</h2> <h3>When to use</h3> <p>Ultra simplistic and minimally styled 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> <h3>Stateful page links</h3> <p>Links are customizable and work in a number of circumstances with the right class. <code>.disabled</code> for unclickable links and <code>.active</code> for current page.</p> <h3>Flexible alignment</h3> <p>Add either of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p> <h3>Examples</h3> <p>The default pagination component is flexible and works in a number of variations.</p> <div class="pagination"> <ul> <li class="disabled"><a href="#">&laquo;</a></li> <li class="active"><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="#">&raquo;</a></li> </ul> </div> <div class="pagination"> <ul> <li><a href="#">&laquo;</a></li> <li><a href="#">10</a></li> <li class="active"><a href="#">11</a></li> <li><a href="#">12</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> <div class="pagination"> <ul> <li><a href="#">&laquo;</a></li> <li class="active"><a href="#">10</a></li> <li class="disabled"><a href="#">...</a></li> <li><a href="#">20</a></li> <li><a href="#">&raquo;</a></li> </ul> </div> <div class="pagination pagination-centered"> <ul> <li class="active"><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> </ul> </div> <h3>Markup</h3> <p>Wrapped in a <code>&lt;div&gt;</code>, pagination is just a <code>&lt;ul&gt;</code>.</p> <pre class="prettyprint linenums"> &lt;div class="pagination"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Prev&lt;/a&gt;&lt;/li> &lt;li class="active"&gt; &lt;a href="#"&gt;1&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
1261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330
&lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Next&lt;/a&gt;&lt;/li> &lt;/ul&gt; &lt;/div&gt; </pre> <h2>Pager <small>For quick previous and next links</small></h2> <h3>About pager</h3> <p>The pager component is a set of links for simple pagination implementations with light markup and even lighter styles. It's great for simple sites like blogs or magazines.</p> <h4>Optional disabled state</h4> <p>Pager links also use the general <code>.disabled</code> class from the pagination.</p> <h3>Default example</h3> <p>By default, the pager centers links.</p> <ul class="pager"> <li><a href="#">Previous</a></li> <li><a href="#">Next</a></li> </ul> <pre class="prettyprint linenums"> &lt;ul class="pager"&gt; &lt;li&gt; &lt;a href="#"&gt;Previous&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#"&gt;Next&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; </pre> <h3>Aligned links</h3> <p>Alternatively, you can align each link to the sides:</p> <ul class="pager"> <li class="previous"><a href="#">&larr; Older</a></li> <li class="next"><a href="#">Newer &rarr;</a></li> </ul> <pre class="prettyprint linenums"> &lt;ul class="pager"&gt; &lt;li class="previous"&gt; &lt;a href="#"&gt;&amp;larr; Older&lt;/a&gt; &lt;/li&gt; &lt;li class="next"&gt; &lt;a href="#"&gt;Newer &amp;rarr;&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; </pre> </section> <!-- Labels ================================================== --> <section id="labels"> <div class="page-header"> <h1>Inline labels <small>Label and annotate text</small></h1> </div> <table class="table table-bordered table-striped"> <thead> <tr> <th>Labels</th> <th>Markup</th> </tr> </thead> <tbody> <tr> <td> <span class="label">Default</span> </td> <td>
1331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400
<code>&lt;span class="label"&gt;Default&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-success">Success</span> </td> <td> <code>&lt;span class="label label-success"&gt;Success&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-warning">Warning</span> </td> <td> <code>&lt;span class="label label-warning"&gt;Warning&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-important">Important</span> </td> <td> <code>&lt;span class="label label-important"&gt;Important&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-info">Info</span> </td> <td> <code>&lt;span class="label label-info"&gt;Info&lt;/span&gt;</code> </td> </tr> <tr> <td> <span class="label label-inverse">Inverse</span> </td> <td> <code>&lt;span class="label label-inverse"&gt;Inverse&lt;/span&gt;</code> </td> </tr> </tbody> </table> </section> <!-- Badges ================================================== --> <section id="badges"> <div class="page-header"> <h1>Badges <small>Indicators and unread counts</small></h1> </div> <h3>About</h3> <p>Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.</p> <h3>Available classes</h3> <table class="table table-bordered table-striped"> <thead> <tr> <th>Name</th> <th>Example</th> <th>Markup</th> </tr> </thead> <tbody> <tr>
1401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470
<td> Default </td> <td> <span class="badge">1</span> </td> <td> <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code> </td> </tr> <tr> <td> Success </td> <td> <span class="badge badge-success">2</span> </td> <td> <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code> </td> </tr> <tr> <td> Warning </td> <td> <span class="badge badge-warning">4</span> </td> <td> <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code> </td> </tr> <tr> <td> Important </td> <td> <span class="badge badge-important">6</span> </td> <td> <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code> </td> </tr> <tr> <td> Info </td> <td> <span class="badge badge-info">8</span> </td> <td> <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code> </td> </tr> <tr> <td> Inverse </td> <td> <span class="badge badge-inverse">10</span> </td> <td> <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code> </td> </tr> </tbody> </table> </section>
1471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540
<!-- Typographic components ================================================== --> <section id="typography"> <div class="page-header"> <h1>Typographic components <small>Page header and hero unit for segmenting content</small></h1> </div> <h2>Hero unit</h2> <p>Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p> <h3>Markup</h3> <p>Wrap your content in a <code>div</code> like so:</p> <pre class="prettyprint linenums"> &lt;div class="hero-unit"&gt; &lt;h1&gt;Heading&lt;/h1&gt; &lt;p&gt;Tagline&lt;/p&gt; &lt;p&gt; &lt;a class="btn btn-primary btn-large"&gt; Learn more &lt;/a&gt; &lt;/p&gt; &lt;/div&gt; </pre> <div class="bs-docs-example"> <div class="hero-unit"> <h1>Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p><a class="btn btn-primary btn-large">Learn more</a></p> </div> </div> <h2>Page header</h2> <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 most other components (with additional styles).</p> <div class="bs-docs-example"> <div class="page-header"> <h1>Example page header <small>Subtext for header</small></h1> </div> </div> <pre class="prettyprint linenums"> &lt;div class="page-header"&gt; &lt;h1&gt;Example page header&lt;/h1&gt; &lt;/div&gt; </pre> </section> <!-- Thumbnails ================================================== --> <section id="thumbnails"> <div class="page-header"> <h1>Thumbnails <small>Grids of images, videos, text, and more</small></h1> </div> <h2>Default thumbnails</h2> <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p> <ul class="thumbnails"> <li class="span3"> <a href="#" class="thumbnail"> <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img src="http://placehold.it/260x180" alt=""> </a>
1541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610
</li> <li class="span3"> <a href="#" class="thumbnail"> <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> <img src="http://placehold.it/260x180" alt=""> </a> </li> </ul> <h2>Highly customizable</h2> <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> <ul class="thumbnails"> <li class="span3"> <div class="thumbnail"> <img src="http://placehold.it/260x180" alt=""> <div class="caption"> <h5>Thumbnail label</h5> <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">Action</a> <a href="#" class="btn">Action</a></p> </div> </div> </li> <li class="span3"> <div class="thumbnail"> <img src="http://placehold.it/260x180" alt=""> <div class="caption"> <h5>Thumbnail label</h5> <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">Action</a> <a href="#" class="btn">Action</a></p> </div> </div> </li> </ul> <h3>Why use thumbnails</h3> <p>Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.</p> <h3>Simple, flexible markup</h3> <p>Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.</p> <h3>Uses grid column sizes</h3> <p>Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.</p> <h2>The markup</h2> <p>As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:</p> <pre class="prettyprint linenums"> &lt;ul class="thumbnails"&gt; &lt;li class="span3"&gt; &lt;a href="#" class="thumbnail"&gt; &lt;img src="http://placehold.it/260x180" alt=""&gt; &lt;/a&gt; &lt;/li&gt; ... &lt;/ul&gt; </pre> <p>For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:</p> <pre class="prettyprint linenums"> &lt;ul class="thumbnails"&gt; &lt;li class="span3"&gt; &lt;div class="thumbnail"&gt; &lt;img src="http://placehold.it/260x180" alt=""&gt; &lt;h5&gt;Thumbnail label&lt;/h5&gt; &lt;p&gt;Thumbnail caption right here...&lt;/p&gt; &lt;/div&gt; &lt;/li&gt; ...
1611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680
&lt;/ul&gt; </pre> <h2>More examples</h2> <p>Explore all your options with the various grid classes available to you. You can also mix and match different sizes.</p> <ul class="thumbnails"> <li class="span4"> <a href="#" class="thumbnail"> <img src="http://placehold.it/360x268" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> <img src="http://placehold.it/160x120" alt=""> </a> </li> </ul> </section> <!-- Alerts ================================================== --> <section id="alerts"> <div class="page-header"> <h1>Alerts <small>Styles for success, warning, and error messages</small></h1> </div> <h2>Lightweight defaults</h2> <h3>Rewritten base class</h3> <p>With Bootstrap 2, we've simplified the base class: <code>.alert</code> instead of <code>.alert-message</code>. We've also reduced the minimum required markup&mdash;no <code>&lt;p&gt;</code> is required by default, just the outer <code>&lt;div&gt;</code>.</p> <h3>Single alert message</h3> <p>For a more durable component with less code, we've removed the differentiating look for block alerts, messages that come with more padding and typically more text. The class also has changed to <code>.alert-block</code>.</p> <hr> <h3>Goes great with javascript</h3> <p>Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.</p> <p><a class="btn js-btn" href="./javascript.html#alerts">Get the plugin &raquo;</a></p> <h3>Example alerts</h3> <p>Wrap your message and an optional close icon in a div with simple class.</p> <div class="alert"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> <pre class="prettyprint linenums"> &lt;div class="alert"&gt; &lt;button class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt; &lt;strong&gt;Warning!&lt;/strong&gt; Best check yo self, you're not looking too good.
1681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750
&lt;/div&gt; </pre> <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p> <p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p> <div class="alert alert-block"> <button type="button" class="close" data-dismiss="alert">&times;</button> <h4 class="alert-heading">Warning!</h4> <p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p> </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-block"&gt; &lt;a class="close" data-dismiss="alert" href="#"&gt;&times;&lt;/a&gt; &lt;h4 class="alert-heading"&gt;Warning!&lt;/h4&gt; Best check yo self, you're not... &lt;/div&gt; </pre> <h2>Contextual alternatives <small>Add optional classes to change an alert's connotation</small></h2> <h3>Error or danger</h3> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Oh snap!</strong> Change a few things up and try submitting again. </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-error"&gt; ... &lt;/div&gt; </pre> <h3>Success</h3> <div class="alert alert-success"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Well done!</strong> You successfully read this important alert message. </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-success"&gt; ... &lt;/div&gt; </pre> <h3>Information</h3> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">&times;</button> <strong>Heads up!</strong> This alert needs your attention, but it's not super important. </div> <pre class="prettyprint linenums"> &lt;div class="alert alert-info"&gt; ... &lt;/div&gt; </pre> </section> <!-- Progress bars ================================================== --> <section id="progress"> <div class="page-header"> <h1>Progress bars <small>For loading, redirecting, or action status</small></h1> </div> <h2>Examples and markup</h2> <h3>Basic</h3> <p>Default progress bar with a vertical gradient.</p> <div class="progress"> <div class="bar" style="width: 60%;"></div> </div>
1751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820
<pre class="prettyprint linenums"> &lt;div class="progress"&gt; &lt;div class="bar" style="width: 60%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h3>Striped</h3> <p>Uses a gradient to create a striped effect (no IE).</p> <div class="progress progress-striped"> <div class="bar" style="width: 20%;"></div> </div> <pre class="prettyprint linenums"> &lt;div class="progress progress-striped"&gt; &lt;div class="bar" style="width: 20%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h3>Animated</h3> <p>Takes the striped example and animates it (no IE).</p> <div class="progress progress-striped active"> <div class="bar" style="width: 45%"></div> </div> <pre class="prettyprint linenums"> &lt;div class="progress progress-striped active"&gt; &lt;div class="bar" style="width: 40%;"&gt;&lt;/div&gt; &lt;/div&gt; </pre> <h2>Options and browser support</h2> <h3>Additional colors</h3> <p>Progress bars use some of the same button and alert classes for consistent styles.</p> <div class="progress progress-info" style="margin-bottom: 9px;"> <div class="bar" style="width: 20%"></div> </div> <div class="progress progress-success" style="margin-bottom: 9px;"> <div class="bar" style="width: 40%"></div> </div> <div class="progress progress-warning" style="margin-bottom: 9px;"> <div class="bar" style="width: 60%"></div> </div> <div class="progress progress-danger" style="margin-bottom: 9px;"> <div class="bar" style="width: 80%"></div> </div> <h3>Striped bars</h3> <p>Similar to the solid colors, we have varied striped progress bars.</p> <div class="progress progress-info progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 20%"></div> </div> <div class="progress progress-success progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 40%"></div> </div> <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 60%"></div> </div> <div class="progress progress-danger progress-striped" style="margin-bottom: 9px;"> <div class="bar" style="width: 80%"></div> </div> <h3>Behavior</h3> <p>Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.</p> <p>If you use the <code>.active</code> class, your <code>.progress-striped</code> progress bars will animate the stripes left to right.</p> <h3>Browser support</h3> <p>Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.</p>
1821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890
<p>Opera and IE do not support animations at this time.</p> </section> <!-- Miscellaneous ================================================== --> <section id="misc"> <div class="page-header"> <h1>Miscellaneous <small>Lightweight utility components</small></h1> </div> <h2>Wells</h2> <p>Use the well as a simple effect on an element to give it an inset effect.</p> <div class="well"> Look, I'm in a well! </div> <pre class="prettyprint linenums"> &lt;div class="well"&gt; ... &lt;/div&gt; </pre> <h4>Optional classes</h4> <p>Control padding and rounded corners with two optional modifier classes.</p> <pre class="prettyprint linenums"> &lt;div class="well well-large"&gt; ... &lt;/div&gt; </pre> <pre class="prettyprint linenums"> &lt;div class="well well-small"&gt; ... &lt;/div&gt; </pre> <h2>Close icon</h2> <p>Use the generic close icon for dismissing content like modals and alerts.</p> <p><button class="close" style="float: none;">&times;</button></p> <pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre> <p>iOS devices require an href="#" for click events if you rather use an anchor.</p> <pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre> <h2>Helper classes</h2> <p>Simple, focused classes for small display or behavior tweaks.</p> <h4>.pull-left</h4> <p>Float an element left</p> <pre class="prettyprint linenums"> class="pull-left" </pre> <pre class="prettyprint linenums"> .pull-left { float: left; } </pre> <h4>.pull-right</h4> <p>Float an element right</p> <pre class="prettyprint linenums"> class="pull-right" </pre> <pre class="prettyprint linenums"> .pull-right { float: right; } </pre> <h4>.muted</h4>
189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959
<p>Change an element's color to <code>#999</code></p> <pre class="prettyprint linenums"> class="muted" </pre> <pre class="prettyprint linenums"> .muted { color: #999; } </pre> <h4>.clearfix</h4> <p>Clear the <code>float</code> on any element</p> <pre class="prettyprint linenums"> class="clearfix" </pre> <pre class="prettyprint linenums"> .clearfix { *zoom: 1; &:before, &:after { display: table; content: ""; } &:after { clear: both; } } </pre> </section> <!-- Footer ================================================== --> <footer class="footer"> <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> </footer> </div><!-- /container --> <!-- Le javascript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <script src="assets/js/jquery.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script src="assets/js/bootstrap-transition.js"></script> <script src="assets/js/bootstrap-alert.js"></script> <script src="assets/js/bootstrap-modal.js"></script> <script src="assets/js/bootstrap-dropdown.js"></script> <script src="assets/js/bootstrap-scrollspy.js"></script> <script src="assets/js/bootstrap-tab.js"></script> <script src="assets/js/bootstrap-tooltip.js"></script> <script src="assets/js/bootstrap-popover.js"></script> <script src="assets/js/bootstrap-button.js"></script> <script src="assets/js/bootstrap-collapse.js"></script> <script src="assets/js/bootstrap-carousel.js"></script> <script src="assets/js/bootstrap-typeahead.js"></script> <script src="assets/js/application.js"></script> </body> </html>