components.html 83.8 KB
Newer Older
1
2
3
4
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
5
    <title>Components · Twitter Bootstrap</title>
Raul Riera's avatar
Raul Riera committed
6
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
8
9
10
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
11
12
    <link href="assets/css/bootstrap.css" rel="stylesheet">
    <link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
13
14
    <link href="assets/css/docs.css" rel="stylesheet">
    <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
Mark Otto's avatar
Mark Otto committed
15
16
17
18
19

    <!-- 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]-->
20

21
    <!-- Le fav and touch icons -->
Mark Otto's avatar
Mark Otto committed
22
    <link rel="shortcut icon" href="assets/ico/favicon.ico">
Mark Otto's avatar
Mark Otto committed
23
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
24
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
25
26
    <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">
27

28
29
  </head>

30
  <body data-spy="scroll" data-target=".bs-docs-sidebar" data-offset="10">
31

Mark Otto's avatar
Mark Otto committed
32
33
34
35
    <!-- Navbar
    ================================================== -->
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
36
        <div class="container">
Purwandi's avatar
Purwandi committed
37
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
Mark Otto's avatar
Mark Otto committed
38
39
40
41
42
43
44
45
            <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="">
Mark Otto's avatar
Mark Otto committed
46
                <a href="./index.html">Home</a>
Mark Otto's avatar
Mark Otto committed
47
48
49
50
51
52
53
54
55
56
57
              </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="">
Mark Otto's avatar
Mark Otto committed
58
                <a href="./javascript.html">Javascript</a>
Mark Otto's avatar
Mark Otto committed
59
              </li>
60
61
62
              <li class="">
                <a href="./extend.html">Extend</a>
              </li>
Mark Otto's avatar
Mark Otto committed
63
64
65
66
67
68
            </ul>
          </div>
        </div>
      </div>
    </div>

69
<!-- Subhead
Mark Otto's avatar
Mark Otto committed
70
71
================================================== -->
<header class="jumbotron subhead" id="overview">
72
73
74
75
  <div class="container">
    <h1>Components</h1>
    <p class="lead">Dozens of reusable components built to provide navigation, alerts, popovers, and more.</p>
  </div>
76
77
</header>

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<div class="container">


  <!-- Docs nav
  ================================================== -->
  <div class="row">
    <div class="span3 bs-docs-sidebar">
      <ul class="nav nav-list bs-docs-sidenav">
        <li><a href="#dropdowns">Dropdowns <i class="icon-chevron-right"></i></a></li>
        <li><a href="#buttonGroups">Button groups <i class="icon-chevron-right"></i></a></li>
        <li><a href="#buttonDropdowns">Button dropdowns <i class="icon-chevron-right"></i></a></li>
        <li><a href="#navs">Navs <i class="icon-chevron-right"></i></a></li>
        <li><a href="#navbar">Navbar <i class="icon-chevron-right"></i></a></li>
        <li><a href="#breadcrumbs">Breadcrumbs <i class="icon-chevron-right"></i></a></li>
        <li><a href="#pagination">Pagination <i class="icon-chevron-right"></i></a></li>
        <li><a href="#labels-badges">Labels and badges <i class="icon-chevron-right"></i></a></li>
        <li><a href="#typography">Typography <i class="icon-chevron-right"></i></a></li>
        <li><a href="#thumbnails">Thumbnails <i class="icon-chevron-right"></i></a></li>
        <li><a href="#alerts">Alerts <i class="icon-chevron-right"></i></a></li>
        <li><a href="#progress">Progress bars <i class="icon-chevron-right"></i></a></li>
        <li><a href="#misc">Misc <i class="icon-chevron-right"></i></a></li>
      </ul>
    </div>
    <div class="span9">
102

103
104


105
106
107
108
109
110
      <!-- Dropdowns
      ================================================== -->
      <section id="dropdowns">
        <div class="page-header">
          <h1>Dropdown menus</h1>
        </div>
111

112
113
114
115
116
117
118
119
120
121
122
123
        <h2>Example</h2>
        <p>An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p>
        <div class="bs-docs-example">
          <div class="dropdown clearfix">
            <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
              <li><a tabindex="-1" href="#">Action</a></li>
              <li><a tabindex="-1" href="#">Another action</a></li>
              <li><a tabindex="-1" href="#">Something else here</a></li>
              <li class="divider"></li>
              <li><a tabindex="-1" href="#">Separated link</a></li>
            </ul>
          </div>
124
        </div>
125
126
127
128
129
130
131
132
133
134
135
<pre class="prettyprint linenums">
&lt;ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"&gt;
  &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
  &lt;li class="divider"&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>


136
        <hr class="bs-docs-separator">
137
138


139
140
        <h2>Markup</h2>
        <p>Dropdowns require...</p>
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161

<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
  &lt;li class="active"&gt;&lt;a href="#"&gt;Regular link&lt;/a&gt;&lt;/li&gt;
  &lt;li class="dropdown" id="menu1"&gt;
    &lt;a id="dLabel" role="button" class="dropdown-toggle" data-toggle="dropdown" href="#menu1"&gt;
      Dropdown
      &lt;b class="caret"&gt;&lt;/b&gt;
    &lt;/a&gt;
    &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
      &lt;li class="divider"&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  ...
&lt;/ul&gt;</pre>


162
        <hr class="bs-docs-separator">
163
164


165
166
        <h2>Options</h2>
        <p>...</p>
167

168
169
        <h3>Dropup menus</h3>
        <p>...</p>
170

171
172
        <h3>Aligning the menus</h3>
        <p>...</p>
173
174


175
        <hr class="bs-docs-separator">
176
177


178
179
        <h2>Usage</h2>
        <p>...</p>
180
181


182
      </section>
183
184


185

Mark Otto's avatar
Mark Otto committed
186

187
188
189
190
191
192
      <!-- Button Groups
      ================================================== -->
      <section id="buttonGroups">
        <div class="page-header">
          <h1>Button groups</h1>
        </div>
193

194
195
        <h2>Examples</h2>
        <p>Two basic options, along with two more specific variations.</p>
Mark Otto's avatar
Mark Otto committed
196

197
198
199
200
201
202
203
204
        <h3>Single button group</h3>
        <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p>
        <div class="bs-docs-example">
          <div class="btn-group" style="margin: 9px 0 5px;">
            <button class="btn">Left</button>
            <button class="btn">Middle</button>
            <button class="btn">Right</button>
          </div>
205
        </div>
206
207
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
208
209
210
  &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;
211
212
&lt;/div&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
213

214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
        <h3>Multiple button groups</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="bs-docs-example">
          <div class="btn-toolbar" style="margin: 0;">
            <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>
232
233
          </div>
        </div>
234
235
236
237
238
239
240
<pre class="prettyprint linenums">
&lt;div class="btn-toolbar"&gt;
  &lt;div class="btn-group"&gt;
    ...
  &lt;/div&gt;
&lt;/div&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
241

242
243
244
245
246
247
248
249
250
        <h3>Vertical button groups</h3>
        <p>Make a set of buttons appear vertically stacked rather than horizontally.</p>
        <div class="bs-docs-example">
          <div class="btn-group btn-group-vertical">
            <button type="button" class="btn"><i class="icon-align-left"></i></button>
            <button type="button" class="btn"><i class="icon-align-center"></i></button>
            <button type="button" class="btn"><i class="icon-align-right"></i></button>
            <button type="button" class="btn"><i class="icon-align-justify"></i></button>
          </div>
251
        </div>
252
253
254
255
256
257
258
<pre class="prettyprint linenums">
&lt;div class="btn-group btn-group-vertical"&gt;
  ...
&lt;/div&gt;
</pre>


259
        <hr class="bs-docs-separator">
260
261


262
263
        <h4>Checkbox and radio flavors</h4>
        <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>
Mark Otto's avatar
Mark Otto committed
264

265
266
267
        <h4>Dropdowns in button groups</h4>
        <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>
268
269
270



271
272
273
274
275
276
      <!-- Split button dropdowns
      ================================================== -->
      <section id="buttonDropdowns">
        <div class="page-header">
          <h1>Button dropdown menus</h1>
        </div>
277

278

279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
        <h2>Overview and examples</h2>
        <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="bs-docs-example">
          <div class="btn-toolbar" style="margin: 0;">
            <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 -->
            <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 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 -->
        </div>
355
356
357
358
359
360
361
362
363
364
365
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
  &lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt;
    Action
    &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>
366

367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
        <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="bs-docs-example">
          <div class="btn-toolbar" style="margin: 0;">
            <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 -->
        </div>
403

404
405
406
        <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>
407

408

409
        <hr class="bs-docs-separator">
410

411

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
        <h2>Split button dropdowns</h2>
        <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="bs-docs-example">
          <div class="btn-toolbar" style="margin: 0;">
            <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>
                <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 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 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 -->
        </div>
495
496
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
497
498
499
500
501
  &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;
502
503
504
505
    &lt;!-- dropdown menu links --&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre>
506

507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
        <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="bs-docs-example">
          <div class="btn-toolbar">
            <div class="btn-group">
              <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 -->
        </div>
550
551
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
552
553
  &lt;button class="btn btn-mini"&gt;Action&lt;/button&gt;
  &lt;button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"&gt;
554
    &lt;span class="caret"&gt;&lt;/span&gt;
555
  &lt;/button&gt;
556
557
558
559
560
  &lt;ul class="dropdown-menu"&gt;
    &lt;!-- dropdown menu links --&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre>
561

562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
        <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="bs-docs-example">
          <div class="btn-toolbar" style="margin: 0;">
            <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>
                <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>
589
        </div>
590
591
<pre class="prettyprint linenums">
&lt;div class="btn-group dropup"&gt;
592
593
  &lt;button class="btn"&gt;Dropup&lt;/button&gt;
  &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt;
594
    &lt;span class="caret"&gt;&lt;/span&gt;
595
  &lt;/button&gt;
596
597
598
599
600
601
  &lt;ul class="dropdown-menu"&gt;
    &lt;!-- dropdown menu links --&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre>

602
      </section>
603

604
605


606
607
608
609
610
611
      <!-- Nav, Tabs, & Pills
      ================================================== -->
      <section id="navs">
        <div class="page-header">
          <h1>Nav: tabs, pills, and lists</small></h1>
        </div>
612

613
614
        <h2>Lightweight defaults <small>Same markup, different classes</small></h2>
        <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>
Mark Otto's avatar
Mark Otto committed
615

616
617
618
619
620
621
622
623
624
        <h3>Basic tabs</h3>
        <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:</p>
        <div class="bs-docs-example">
          <ul class="nav nav-tabs">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Profile</a></li>
            <li><a href="#">Messages</a></li>
          </ul>
        </div>
625
<pre class="prettyprint linenums">
626
&lt;ul class="nav nav-tabs"&gt;
627
628
629
630
631
632
633
  &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>
Mark Otto's avatar
Mark Otto committed
634

635
636
637
638
639
640
641
642
643
        <h3>Basic pills</h3>
        <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>
        <div class="bs-docs-example">
          <ul class="nav nav-pills">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Profile</a></li>
            <li><a href="#">Messages</a></li>
          </ul>
        </div>
644
<pre class="prettyprint linenums">
645
&lt;ul class="nav nav-pills"&gt;
646
647
648
649
650
651
  &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;
652
653
</pre>

654
655
656
657
658
659
660
661
662
        <h3>Disabled state</h3>
        <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.</p>
        <div class="bs-docs-example">
          <ul class="nav nav-pills">
            <li><a href="#">Clickable link</a></li>
            <li><a href="#">Clickable link</a></li>
            <li class="disabled"><a href="#">Disabled link</a></li>
          </ul>
        </div>
663
664
665
666
667
668
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
  ...
  &lt;li class="disabled"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
  ...
&lt;/ul&gt;
669
</pre>
Mark Otto's avatar
Mark Otto committed
670

671
672
        <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>
673

Mark Otto's avatar
Mark Otto committed
674

675
        <hr class="bs-docs-separator">
676
677


678
679
        <h2>Stackable</h2>
        <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>
Mark Otto's avatar
Mark Otto committed
680

681
682
683
684
685
686
687
688
        <h3>Stacked tabs</h3>
        <div class="bs-docs-example">
          <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>
        </div>
689
<pre class="prettyprint linenums">
690
&lt;ul class="nav nav-tabs nav-stacked"&gt;
691
692
693
  ...
&lt;/ul&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
694

695
696
697
698
699
700
701
702
        <h3>Stacked pills</h3>
        <div class="bs-docs-example">
          <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>
        </div>
703
<pre class="prettyprint linenums">
704
&lt;ul class="nav nav-pills nav-stacked"&gt;
705
706
707
  ...
&lt;/ul&gt;
</pre>
708

Mark Otto's avatar
Mark Otto committed
709

710
        <hr class="bs-docs-separator">
711
712


713
714
        <h2>Dropdowns</h2>
        <p>Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
Mark Otto's avatar
Mark Otto committed
715

716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
        <h3>Tabs with dropdowns</h3>
        <div class="bs-docs-example">
          <ul class="nav nav-tabs">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Help</a></li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <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>
733
<pre class="prettyprint linenums">
734
&lt;ul class="nav nav-tabs"&gt;
735
  &lt;li class="dropdown"&gt;
736
    &lt;a class="dropdown-toggle"
737
738
739
740
741
742
743
744
745
746
       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;
747
</pre>
Mark Otto's avatar
Mark Otto committed
748

749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
        <h3>Pills with dropdowns</h3>
        <div class="bs-docs-example">
          <ul class="nav nav-pills">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Help</a></li>
            <li class="dropdown">
              <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <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>
766
<pre class="prettyprint linenums">
767
&lt;ul class="nav nav-pills"&gt;
768
  &lt;li class="dropdown"&gt;
769
    &lt;a class="dropdown-toggle"
770
771
772
773
774
775
776
777
778
779
       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;
780
</pre>
781

Mark Otto's avatar
Mark Otto committed
782

783
        <hr class="bs-docs-separator">
784
785


786
787
        <h2>Nav lists</h2>
        <p>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>
Mark Otto's avatar
Mark Otto committed
788

789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
        <h3>Example nav list</h3>
        <p>Take a list of links and add <code>class="nav nav-list"</code>:</p>
        <div class="bs-docs-example">
          <div class="well" style="max-width: 340px; 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>
            </ul>
          </div> <!-- /well -->
        </div>
806
<pre class="prettyprint linenums">
807
&lt;ul class="nav nav-list"&gt;
808
809
810
  &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;
811
  ...
812
813
&lt;/ul&gt;
</pre>
814
815
816
817
        <p>
          <span class="label label-info">Note</span>
          For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code>&lt;ul&gt;</code>.
        </p>
818

819
820
        <h3>Horizontal dividers</h3>
        <p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
821
822
823
824
825
826
<pre class="prettyprint linenums">
&lt;ul class="nav nav-list"&gt;
  ...
  &lt;li class="divider"&gt;&lt;/li&gt;
  ...
&lt;/ul&gt;
827
</pre>
828
829


830
        <hr class="bs-docs-separator">
831

Mark Otto's avatar
Mark Otto committed
832

833
834
        <h2>Tabbable nav</h2>
        <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>
Mark Otto's avatar
Mark Otto committed
835

836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
        <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="bs-docs-example">
          <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>
              </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>
855
            </div>
856
857
          </div> <!-- /tabbable -->
        </div>
858
<pre class="prettyprint linenums">
859
&lt;div class="tabbable"&gt; &lt;!-- Only required for left/right tabs --&gt;
860
  &lt;ul class="nav nav-tabs"&gt;
861
862
    &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;
863
864
  &lt;/ul&gt;
  &lt;div class="tab-content"&gt;
865
    &lt;div class="tab-pane active" id="tab1"&gt;
866
867
      &lt;p&gt;I'm in Section 1.&lt;/p&gt;
    &lt;/div&gt;
868
    &lt;div class="tab-pane" id="tab2"&gt;
869
870
871
872
873
      &lt;p&gt;Howdy, I'm in Section 2.&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</pre>
874

875
876
        <h4>Fade in tabs</h4>
        <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p>
877

878
879
        <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>
880

881
        <h3>Tabbable in any direction</h3>
882

883
884
885
886
887
888
889
890
891
892
893
894
895
896
        <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="bs-docs-example">
          <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>
897
            </div>
898
899
900
901
902
903
904
            <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 -->
        </div>
905
<pre class="prettyprint linenums">
Mark Otto's avatar
Mark Otto committed
906
&lt;div class="tabbable tabs-below"&gt;
907
908
909
  &lt;div class="tab-content"&gt;
    ...
  &lt;/div&gt;
910
911
912
  &lt;ul class="nav nav-tabs"&gt;
    ...
  &lt;/ul&gt;
913
914
&lt;/div&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
915

916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
        <h4>Tabs on the left</h4>
        <p>Swap the class to put tabs on the left.</p>
        <div class="bs-docs-example">
          <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>
              <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>
935
            </div>
936
937
          </div> <!-- /tabbable -->
        </div>
938
939
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-left"&gt;
940
  &lt;ul class="nav nav-tabs"&gt;
941
942
943
944
945
946
947
    ...
  &lt;/ul&gt;
  &lt;div class="tab-content"&gt;
    ...
  &lt;/div&gt;
&lt;/div&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
948

949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
        <h4>Tabs on the right</h4>
        <p>Swap the class to put tabs on the right.</p>
        <div class="bs-docs-example">
          <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>
968
            </div>
969
970
          </div> <!-- /tabbable -->
        </div>
971
972
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-right"&gt;
973
  &lt;ul class="nav nav-tabs"&gt;
974
975
976
977
978
979
980
    ...
  &lt;/ul&gt;
  &lt;div class="tab-content"&gt;
    ...
  &lt;/div&gt;
&lt;/div&gt;
</pre>
981

982
      </section>
983
984
985



986
987
988
989
990
991
      <!-- Navbar
      ================================================== -->
      <section id="navbar">
        <div class="page-header">
          <h1>Navbar</h1>
        </div>
992

993

994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
        <h2>Basic navbar</h2>
        <p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p>
        <div class="bs-docs-example">
          <div class="navbar">
            <div class="navbar-inner">
              <a class="brand" href="#">Title</a>
              <ul class="nav">
                <li class="active"><a href="#">Home</a></li>
                <li><a href="#">Link</a></li>
                <li><a href="#">Link</a></li>
              </ul>
            </div>
1006
1007
          </div>
        </div>
1008
<pre class="prettyprint linenums">
1009
&lt;div class="navbar"&gt;
1010
  &lt;div class="navbar-inner"&gt;
Mark Otto's avatar
Mark Otto committed
1011
1012
1013
1014
1015
1016
    &lt;a class="brand" href="#"&gt;Title&lt;/a&gt;
    &lt;ul class="nav"&gt;
      &lt;li class="active"&gt;&lt;a href="#"&gt;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;
1017
1018
1019
  &lt;/div&gt;
&lt;/div&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
1020
1021


1022
        <hr class="bs-docs-separator">
Mark Otto's avatar
Mark Otto committed
1023
1024


1025
        <h2>Navbar components</h2>
Mark Otto's avatar
Mark Otto committed
1026

1027
1028
        <h3>Brand</h3>
        <p>A simple link to show your brand or project name only requires an anchor tag.</p>
1029
<pre class="prettyprint linenums">
Mark Otto's avatar
Mark Otto committed
1030
&lt;a class="brand" href="#"&gt;Project name&lt;/a&gt;
1031
</pre>
Mark Otto's avatar
Mark Otto committed
1032

1033
1034
        <h3>Nav links</h3>
        <p>Nav items are simple to add via unordered lists.</p>
1035
<pre class="prettyprint linenums">
Mark Otto's avatar
Mark Otto committed
1036
1037
1038
1039
1040
1041
1042
&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;
1043
</pre>
1044
        <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>
1045
<pre class="prettyprint linenums">
Mark Otto's avatar
Mark Otto committed
1046
1047
1048
1049
1050
&lt;ul class="nav"&gt;
  ...
  &lt;li class="divider-vertical"&gt;&lt;/li&gt;
  ...
&lt;/ul&gt;
1051
</pre>
Mark Otto's avatar
Mark Otto committed
1052

1053
1054
        <h3>Forms</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>
Mark Otto's avatar
Mark Otto committed
1055
1056
1057
1058
1059
<pre class="prettyprint linenums">
&lt;form class="navbar-form pull-left"&gt;
  &lt;input type="text" class="span2"&gt;
&lt;/form&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
1060

1061
1062
        <h3>Search form</h3>
        <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>
1063
<pre class="prettyprint linenums">
1064
1065
&lt;form class="navbar-search pull-left"&gt;
  &lt;input type="text" class="search-query" placeholder="Search"&gt;
1066
1067
&lt;/form&gt;
</pre>
Mark Otto's avatar
Mark Otto committed
1068

1069
1070
        <h3>Component alignment</h3>
        <p>Align nav links, 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>
Mark Otto's avatar
Mark Otto committed
1071

1072
1073
        <h3>Using dropdowns</h3>
        <p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
Mark Otto's avatar
Mark Otto committed
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
<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>
1087
        <p>Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.</p>
Mark Otto's avatar
Mark Otto committed
1088

1089
1090
        <h3>Text</h3>
        <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p>
Mark Otto's avatar
Mark Otto committed
1091
1092


1093
        <hr class="bs-docs-separator">
Mark Otto's avatar
Mark Otto committed
1094
1095


1096
1097
        <h2>Fixed navigation</h2>
        <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p>
Mark Otto's avatar
Mark Otto committed
1098

1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
        <h3>Fixed to top</h3>
        <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
        <div class="bs-docs-example bs-navbar-top-example">
          <div class="navbar navbar-fixed-top" style="position: absolute;">
            <div class="navbar-inner">
              <div class="container" style="width: auto; padding: 0 20px;">
                <a class="brand" href="#">Title</a>
                <ul class="nav">
                  <li class="active"><a href="#">Home</a></li>
                  <li><a href="#">Link</a></li>
                  <li><a href="#">Link</a></li>
                </ul>
              </div>
1112
1113
            </div>
          </div>
Mark Otto's avatar
Mark Otto committed
1114
1115
1116
1117
1118
1119
1120
        </div>
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-fixed-top"&gt;
  ...
&lt;/div&gt;
</pre>

1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
        <h3>Fixed to bottom</h3>
        <p>Add <code>.navbar-fixed-bottom</code> instead.</p>
        <div class="bs-docs-example bs-navbar-bottom-example">
          <div class="navbar navbar-fixed-bottom" style="position: absolute;">
            <div class="navbar-inner">
              <div class="container" style="width: auto; padding: 0 20px;">
                <a class="brand" href="#">Title</a>
                <ul class="nav">
                  <li class="active"><a href="#">Home</a></li>
                  <li><a href="#">Link</a></li>
                  <li><a href="#">Link</a></li>
                </ul>
              </div>
1134
1135
            </div>
          </div>
Mark Otto's avatar
Mark Otto committed
1136
1137
1138
1139
1140
1141
1142
1143
        </div>
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-fixed-bottom"&gt;
  ...
&lt;/div&gt;
</pre>


1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
        <hr class="bs-docs-separator">


        <h2>Responsive navbar</h2>
        <p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
        <div class="bs-docs-example">
          <div class="navbar">
            <div class="navbar-inner">
              <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 -->
        </div>
1199
<pre class="prettyprint linenums">
1200
&lt;div class="navbar"&gt;
1201
1202
  &lt;div class="navbar-inner"&gt;
    &lt;div class="container"&gt;
Jacob Thornton's avatar
Jacob Thornton committed
1203

1204
1205
      &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;
Mark Otto's avatar
Mark Otto committed
1206
1207
1208
        &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;
1209
      &lt;/a&gt;
Jacob Thornton's avatar
Jacob Thornton committed
1210

1211
1212
1213
1214
      &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;
1215
      &lt;div class="nav-collapse"&gt;
1216
1217
1218
1219
1220
1221
1222
        &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt;
      &lt;/div&gt;

    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</pre>
1223
1224
1225
        <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>
1226
1227


1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
        <hr class="bs-docs-separator">


        <h2>Subnav variation</h2>
        <p>Modify the look of the navbar by adding <code>.navbar-subnav</code>. Perfect for a secondary nav, or just a replacement to the default dark navbar.</p>
        <div class="bs-docs-example">
          <div class="navbar navbar-subnav" style="position: static;">
            <div class="navbar-inner">
              <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".subnav-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 subnav-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 -->
        </div>
Mark Otto's avatar
Mark Otto committed
1283
1284
1285
1286
1287
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-subnav"&gt;
  ...
&lt;/div&gt;
</pre>
1288

1289
      </section>
1290
1291
1292



1293
1294
1295
1296
1297
1298
      <!-- Breadcrumbs
      ================================================== -->
      <section id="breadcrumbs">
        <div class="page-header">
          <h1>Breadcrumbs <small></small></h1>
        </div>
1299

1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
        <h2>Examples</h2>
        <p>A single example shown as it might be displayed across multiple pages.</p>
        <div class="bs-docs-example">
          <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" style="margin-bottom: 5px;">
            <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>
        </div>
1316
1317
<pre class="prettyprint linenums">
&lt;ul class="breadcrumb"&gt;
Mark Otto's avatar
Mark Otto committed
1318
1319
  &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;
1320
  &lt;li class="active"&gt;Data&lt;/li&gt;
1321
1322
1323
&lt;/ul&gt;
</pre>

1324
      </section>
1325
1326
1327



1328
1329
1330
1331
1332
1333
      <!-- Pagination
      ================================================== -->
      <section id="pagination">
        <div class="page-header">
          <h1>Pagination <small>Two options for paging through content</small></h1>
        </div>
1334

1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
        <h2>Standard pagination</h2>
        <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>
        <div class="bs-docs-example">
          <div class="pagination">
            <ul>
              <li><a href="#">&laquo;</a></li>
              <li><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">5</a></li>
              <li><a href="#">&raquo;</a></li>
            </ul>
          </div>
1349
        </div>
1350
1351
1352
<pre class="prettyprint linenums">
&lt;div class="pagination"&gt;
  &lt;ul&gt;
Mark Otto's avatar
Mark Otto committed
1353
    &lt;li&gt;&lt;a href="#"&gt;Prev&lt;/a&gt;&lt;/li&gt;
Mark Otto's avatar
Mark Otto committed
1354
    &lt;li&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
1355
1356
1357
    &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;
    &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
Mark Otto's avatar
Mark Otto committed
1358
1359
1360
1361
1362
1363
    &lt;li&gt;&lt;a href="#"&gt;Next&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre>


1364
        <hr class="bs-docs-separator">
Mark Otto's avatar
Mark Otto committed
1365
1366


1367
        <h2>Options</h2>
Mark Otto's avatar
Mark Otto committed
1368

1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
        <h3>Disabled and active states</h3>
        <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p>
        <div class="bs-docs-example">
          <div class="pagination pagination-centered">
            <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="#">5</a></li>
              <li><a href="#">&raquo;</a></li>
           </ul>
          </div>
1383
        </div>
Mark Otto's avatar
Mark Otto committed
1384
1385
1386
<pre class="prettyprint linenums">
&lt;div class="pagination "&gt;
  &lt;ul&gt;
Mark Otto's avatar
Mark Otto committed
1387
    &lt;li class="disabled"&gt;&lt;a href="#"&gt;Prev&lt;/a&gt;&lt;/li&gt;
Mark Otto's avatar
Mark Otto committed
1388
1389
    &lt;li class="active"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
    ...
1390
1391
1392
1393
  &lt;/ul&gt;
&lt;/div&gt;
</pre>

1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
        <h3>Alignment</h3>
        <p>Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p>
        <div class="bs-docs-example">
          <div class="pagination pagination-centered">
            <ul>
              <li><a href="#">&laquo;</a></li>
              <li><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">5</a></li>
              <li><a href="#">&raquo;</a></li>
           </ul>
          </div>
1408
        </div>
Mark Otto's avatar
Mark Otto committed
1409
1410
1411
1412
1413
<pre class="prettyprint linenums">
&lt;div class="pagination pagination-centered"&gt;
  ...
&lt;/div&gt;
</pre>
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
        <div class="bs-docs-example">
          <div class="pagination pagination-right">
            <ul>
              <li><a href="#">&laquo;</a></li>
              <li><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">5</a></li>
              <li><a href="#">&raquo;</a></li>
            </ul>
          </div>
1426
        </div>
Mark Otto's avatar
Mark Otto committed
1427
1428
1429
1430
1431
1432
1433
<pre class="prettyprint linenums">
&lt;div class="pagination pagination-right"&gt;
  ...
&lt;/div&gt;
</pre>


1434
        <hr class="bs-docs-separator">
1435

Mark Otto's avatar
Mark Otto committed
1436

1437
1438
        <h2>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>
1439

1440
1441
1442
1443
1444
1445
1446
1447
        <h3>Default example</h3>
        <p>By default, the pager centers links.</p>
        <div class="bs-docs-example">
          <ul class="pager">
            <li><a href="#">Previous</a></li>
            <li><a href="#">Next</a></li>
          </ul>
        </div>
1448
1449
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
1450
1451
  &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;
1452
1453
&lt;/ul&gt;
</pre>
1454

1455
1456
1457
1458
1459
1460
1461
1462
        <h3>Aligned links</h3>
        <p>Alternatively, you can align each link to the sides:</p>
        <div class="bs-docs-example">
          <ul class="pager">
            <li class="previous"><a href="#">&larr; Older</a></li>
            <li class="next"><a href="#">Newer &rarr;</a></li>
          </ul>
        </div>
1463
1464
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
1465
  &lt;li class="previous"&gt;
1466
1467
    &lt;a href="#"&gt;&amp;larr; Older&lt;/a&gt;
  &lt;/li&gt;
1468
  &lt;li class="next"&gt;
1469
1470
1471
    &lt;a href="#"&gt;Newer &amp;rarr;&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
Mark Otto's avatar
Mark Otto committed
1472
1473
</pre>

1474
1475
1476
1477
1478
1479
1480
1481
        <h3>Optional disabled state</h3>
        <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p>
        <div class="bs-docs-example">
          <ul class="pager">
            <li class="previous disabled"><a href="#">&larr; Older</a></li>
            <li class="next"><a href="#">Newer &rarr;</a></li>
          </ul>
        </div>
Mark Otto's avatar
Mark Otto committed
1482
1483
1484
1485
1486
1487
1488
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
  &lt;li class="previous disabled"&gt;
    &lt;a href="#"&gt;&amp;larr; Older&lt;/a&gt;
  &lt;/li&gt;
  ...
&lt;/ul&gt;
1489
</pre>
1490

1491
      </section>
1492
1493
1494



1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
      <!-- Labels and badges
      ================================================== -->
      <section id="labels-badges">
        <div class="page-header">
          <h1>Labels and badges</h1>
        </div>
        <h3>Labels</h3>
        <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>
                <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>

        <h3>Badges</h3>
        <table class="table table-bordered table-striped">
          <thead>
            <tr>
              <th>Name</th>
              <th>Example</th>
              <th>Markup</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <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>



      <!-- Typographic components
      ================================================== -->
      <section id="typography">
        <div class="page-header">
          <h1>Typographic components</h1>
        </div>
1650

1651
1652
1653
1654
1655
1656
1657
1658
        <h2>Hero unit</h2>
        <p>A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.</p>
        <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>
1659
        </div>
Mark Otto's avatar
Mark Otto committed
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
<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>
1671

1672
1673
1674
1675
1676
1677
        <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>
1678
        </div>
1679
<pre class="prettyprint linenums">
1680
&lt;div class="page-header"&gt;
1681
1682
1683
  &lt;h1&gt;Example page header&lt;/h1&gt;
&lt;/div&gt;
</pre>
1684

1685
      </section>
Mark Otto's avatar
Mark Otto committed
1686
1687
1688



1689
1690
1691
1692
1693
1694
      <!-- Thumbnails
      ================================================== -->
      <section id="thumbnails">
        <div class="page-header">
          <h1>Thumbnails <small>Grids of images, videos, text, and more</small></h1>
        </div>
1695

1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
        <h2>Default thumbnails</h2>
        <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
        <div class="row-fluid">
          <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>
            </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>
        </div>
1722

1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
        <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>
        <div class="row-fluid">
          <ul class="thumbnails">
            <li class="span4">
              <div class="thumbnail">
                <img src="http://placehold.it/300x200" alt="">
                <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">Action</a> <a href="#" class="btn">Action</a></p>
                </div>
1735
              </div>
1736
1737
1738
1739
1740
1741
1742
1743
1744
            </li>
            <li class="span4">
              <div class="thumbnail">
                <img src="http://placehold.it/300x200" alt="">
                <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">Action</a> <a href="#" class="btn">Action</a></p>
                </div>
1745
              </div>
1746
1747
1748
1749
1750
1751
1752
1753
1754
            </li>
            <li class="span4">
              <div class="thumbnail">
                <img src="http://placehold.it/300x200" alt="">
                <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">Action</a> <a href="#" class="btn">Action</a></p>
                </div>
1755
              </div>
1756
1757
1758
            </li>
          </ul>
        </div>
1759

1760
1761
        <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>
1762

1763
1764
        <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>
1765

1766
1767
        <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>
1768

1769
1770
        <h2>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>
1771
1772
<pre class="prettyprint linenums">
&lt;ul class="thumbnails"&gt;
1773
  &lt;li class="span4"&gt;
1774
    &lt;a href="#" class="thumbnail"&gt;
1775
      &lt;img src="http://placehold.it/300x200" alt=""&gt;
1776
1777
1778
1779
1780
    &lt;/a&gt;
  &lt;/li&gt;
  ...
&lt;/ul&gt;
</pre>
1781
        <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>
1782
1783
<pre class="prettyprint linenums">
&lt;ul class="thumbnails"&gt;
1784
  &lt;li class="span4"&gt;
1785
    &lt;div class="thumbnail"&gt;
1786
1787
1788
      &lt;img src="http://placehold.it/300x200" alt=""&gt;
      &lt;h3&gt;Thumbnail label&lt;/h3&gt;
      &lt;p&gt;Thumbnail caption...&lt;/p&gt;
1789
1790
1791
1792
1793
    &lt;/div&gt;
  &lt;/li&gt;
  ...
&lt;/ul&gt;
</pre>
1794

1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
        <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="span3">
            <a href="#" class="thumbnail">
              <img src="http://placehold.it/260x120" alt="">
            </a>
          </li>
          <li class="span2">
            <a href="#" class="thumbnail">
              <img src="http://placehold.it/160x120" alt="">
            </a>
          </li>
          <li class="span3">
            <a href="#" class="thumbnail">
              <img src="http://placehold.it/260x120" alt="">
            </a>
          </li>
          <li class="span2">
            <a href="#" class="thumbnail">
              <img src="http://placehold.it/160x120" alt="">
            </a>
          </li>
        </ul>
1824

1825
      </section>
1826
1827
1828



1829
1830
1831
1832
1833
1834
      <!-- Alerts
      ================================================== -->
      <section id="alerts">
        <div class="page-header">
          <h1>Alerts <small>Styles for success, warning, and error messages</small></h1>
        </div>
1835

1836
1837
1838
1839
1840
1841
1842
        <h2>Default alert</h2>
        <p>Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message.</p>
        <div class="bs-docs-example">
          <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>
1843
        </div>
1844
1845
<pre class="prettyprint linenums">
&lt;div class="alert"&gt;
1846
  &lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
Mark Otto's avatar
Mark Otto committed
1847
  &lt;strong&gt;Warning!&lt;/strong&gt; Best check yo self, you're not looking too good.
1848
1849
&lt;/div&gt;
</pre>
1850

1851
1852
        <h3>Dismiss buttons</h3>
        <p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.</p>
1853
1854
1855
<pre class="prettyprint linenums">
&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
</pre>
1856
        <p>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>
1857
1858
1859
1860
<pre class="prettyprint linenums">
&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
</pre>

1861
1862
        <h3>Dismiss alerts via javascript</h3>
        <p>Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.</p>
1863
1864


1865
        <hr class="bs-docs-separator">
1866
1867


1868
1869
1870
1871
1872
1873
1874
1875
        <h2>Options</h2>
        <p>For longer messages, increase the padding on the top and bottom of the alert wrapper by adding <code>.alert-block</code>.</p>
        <div class="bs-docs-example">
          <div class="alert alert-block">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            <h4>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>
1876
        </div>
1877
<pre class="prettyprint linenums">
1878
&lt;div class="alert alert-block"&gt;
1879
1880
  &lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;
  &lt;h4&gt;Warning!&lt;/h4&gt;
Mark Otto's avatar
Mark Otto committed
1881
  Best check yo self, you're not...
1882
1883
&lt;/div&gt;
</pre>
1884

1885

1886
        <hr class="bs-docs-separator">
1887
1888


1889
1890
        <h2>Contextual alternatives</h2>
        <p>Add optional classes to change an alert's connotation.</p>
1891

1892
1893
1894
1895
1896
1897
        <h3>Error or danger</h3>
        <div class="bs-docs-example">
          <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>
1898
        </div>
1899
<pre class="prettyprint linenums">
1900
&lt;div class="alert alert-error"&gt;
1901
1902
1903
  ...
&lt;/div&gt;
</pre>
1904

1905
1906
1907
1908
1909
1910
        <h3>Success</h3>
        <div class="bs-docs-example">
          <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>
1911
        </div>
1912
<pre class="prettyprint linenums">
1913
&lt;div class="alert alert-success"&gt;
1914
1915
1916
  ...
&lt;/div&gt;
</pre>
1917

1918
1919
1920
1921
1922
1923
        <h3>Information</h3>
        <div class="bs-docs-example">
          <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>
1924
        </div>
1925
<pre class="prettyprint linenums">
1926
&lt;div class="alert alert-info"&gt;
1927
  ...
1928
1929
&lt;/div&gt;
</pre>
1930

1931
      </section>
1932
1933
1934



1935
1936
1937
1938
1939
1940
      <!-- Progress bars
      ================================================== -->
      <section id="progress">
        <div class="page-header">
          <h1>Progress bars <small>For loading, redirecting, or action status</small></h1>
        </div>
1941

1942
        <h2>Examples and markup</h2>
1943

1944
1945
1946
1947
1948
1949
        <h3>Basic</h3>
        <p>Default progress bar with a vertical gradient.</p>
        <div class="bs-docs-example">
          <div class="progress">
            <div class="bar" style="width: 60%;"></div>
          </div>
1950
        </div>
1951
1952
<pre class="prettyprint linenums">
&lt;div class="progress"&gt;
1953
  &lt;div class="bar" style="width: 60%;"&gt;&lt;/div&gt;
1954
1955
&lt;/div&gt;
</pre>
1956

1957
1958
1959
1960
1961
1962
        <h3>Striped</h3>
        <p>Uses a gradient to create a striped effect. Not available in IE7-8.</p>
        <div class="bs-docs-example">
          <div class="progress progress-striped">
            <div class="bar" style="width: 20%;"></div>
          </div>
1963
        </div>
1964
<pre class="prettyprint linenums">
1965
&lt;div class="progress progress-striped"&gt;
1966
  &lt;div class="bar" style="width: 20%;"&gt;&lt;/div&gt;
1967
1968
&lt;/div&gt;
</pre>
1969

1970
1971
1972
1973
1974
1975
        <h3>Animated</h3>
        <p>Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.</p>
        <div class="bs-docs-example">
          <div class="progress progress-striped active">
            <div class="bar" style="width: 45%"></div>
          </div>
1976
        </div>
1977
<pre class="prettyprint linenums">
1978
1979
&lt;div class="progress progress-striped active"&gt;
  &lt;div class="bar" style="width: 40%;"&gt;&lt;/div&gt;
1980
1981
&lt;/div&gt;
</pre>
1982

1983

1984
        <hr class="bs-docs-separator">
1985
1986


1987
        <h2>Options</h2>
1988

1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
        <h3>Additional colors</h3>
        <p>Progress bars use some of the same button and alert classes for consistent styles.</p>
        <div class="bs-docs-example">
          <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">
            <div class="bar" style="width: 80%"></div>
          </div>
2004
        </div>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<pre class="prettyprint linenums">
&lt;div class="progress progress-info"&gt;
  &lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="progress progress-success"&gt;
  &lt;div class="bar" style="width: 40%"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="progress progress-warning"&gt;
  &lt;div class="bar" style="width: 60%"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="progress progress-danger"&gt;
  &lt;div class="bar" style="width: 80%"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
2019

2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
        <h3>Striped bars</h3>
        <p>Similar to the solid colors, we have varied striped progress bars.</p>
        <div class="bs-docs-example">
          <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">
            <div class="bar" style="width: 80%"></div>
          </div>
2035
        </div>
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
<pre class="prettyprint linenums">
&lt;div class="progress progress-info progress-striped"&gt;
  &lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="progress progress-success progress-striped"&gt;
  &lt;div class="bar" style="width: 40%"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="progress progress-warning progress-striped"&gt;
  &lt;div class="bar" style="width: 60%"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="progress progress-danger progress-striped"&gt;
  &lt;div class="bar" style="width: 80%"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>

2051

2052
        <hr class="bs-docs-separator">
2053

2054

2055
2056
2057
        <h2>Browser support</h2>
        <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>
        <p>Opera and IE do not support animations at this time.</p>
2058

2059
      </section>
2060
2061
2062
2063
2064





2065
2066
2067
2068
2069
2070
      <!-- Miscellaneous
      ================================================== -->
      <section id="misc">
        <div class="page-header">
          <h1>Miscellaneous <small>Lightweight utility components</small></h1>
        </div>
2071

2072
2073
2074
2075
2076
2077
        <h2>Wells</h2>
        <p>Use the well as a simple effect on an element to give it an inset effect.</p>
        <div class="bs-docs-example">
          <div class="well">
            Look, I'm in a well!
          </div>
2078
        </div>
2079
2080
2081
2082
<pre class="prettyprint linenums">
&lt;div class="well"&gt;
  ...
&lt;/div&gt;
2083
</pre>
2084
2085
2086
2087
2088
2089
        <h3>Optional classes</h3>
        <p>Control padding and rounded corners with two optional modifier classes.</p>
        <div class="bs-docs-example">
          <div class="well well-large">
            Look, I'm in a well!
          </div>
2090
        </div>
2091
2092
2093
2094
2095
<pre class="prettyprint linenums">
&lt;div class="well well-large"&gt;
  ...
&lt;/div&gt;
</pre>
2096
2097
2098
2099
        <div class="bs-docs-example">
          <div class="well well-small">
            Look, I'm in a well!
          </div>
2100
        </div>
2101
2102
2103
2104
<pre class="prettyprint linenums">
&lt;div class="well well-small"&gt;
  ...
&lt;/div&gt;
2105
</pre>
2106
2107
2108
2109
2110
        <h2>Close icon</h2>
        <p>Use the generic close icon for dismissing content like modals and alerts.</p>
        <div class="bs-docs-example">
          <p><button class="close" style="float: none;">&times;</button></p>
        </div>
2111
<pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre>
2112
        <p>iOS devices require an href="#" for click events if you rather use an anchor.</p>
2113
<pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
2114

2115
2116
        <h2>Helper classes</h2>
        <p>Simple, focused classes for small display or behavior tweaks.</p>
2117

2118
2119
        <h4>.pull-left</h4>
        <p>Float an element left</p>
2120
2121
2122
2123
2124
2125
2126
2127
2128
<pre class="prettyprint linenums">
class="pull-left"
</pre>
<pre class="prettyprint linenums">
.pull-left {
  float: left;
}
</pre>

2129
2130
        <h4>.pull-right</h4>
        <p>Float an element right</p>
2131
2132
2133
2134
2135
2136
2137
2138
2139
<pre class="prettyprint linenums">
class="pull-right"
</pre>
<pre class="prettyprint linenums">
.pull-right {
  float: right;
}
</pre>

2140
2141
        <h4>.muted</h4>
        <p>Change an element's color to <code>#999</code></p>
2142
2143
2144
2145
2146
2147
2148
2149
2150
<pre class="prettyprint linenums">
class="muted"
</pre>
<pre class="prettyprint linenums">
.muted {
  color: #999;
}
</pre>

2151
2152
        <h4>.clearfix</h4>
        <p>Clear the <code>float</code> on any element</p>
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
<pre class="prettyprint linenums">
class="clearfix"
</pre>
<pre class="prettyprint linenums">
.clearfix {
  *zoom: 1;
  &:before,
  &:after {
    display: table;
    content: "";
  }
  &:after {
    clear: both;
  }
}
</pre>

2170
      </section>
2171
2172


2173

2174
    </div>
2175
2176
  </div>

2177
</div>
Mark Otto's avatar
Mark Otto committed
2178

2179

Mark Otto's avatar
Mark Otto committed
2180
2181
2182
2183
2184

   <!-- Footer
    ================================================== -->
    <footer class="footer">
      <div class="container">
Mark Otto's avatar
Mark Otto committed
2185
        <p class="pull-right"><a href="#">Back to top</a></p>
Mark Otto's avatar
Mark Otto committed
2186
2187
2188
        <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>
2189
2190
2191
2192
2193
        <ul class="footer-links">
          <li><a href="http://blog.getbootstrap.com">Read the blog</a></li>
          <li><a href="https://github.com/twitter/bootstrap/issues?state=open">Submit issues</a></li>
          <li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
        </ul>
Mark Otto's avatar
Mark Otto committed
2194
2195
      </div>
    </footer>
2196

2197

2198
2199
2200

    <!-- Le javascript
    ================================================== -->
2201
    <!-- Placed at the end of the document so the pages load faster -->
2202
    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
Jacob Thornton's avatar
Jacob Thornton committed
2203
    <script src="assets/js/jquery.js"></script>
2204
    <script src="assets/js/google-code-prettify/prettify.js"></script>
Jacob Thornton's avatar
Jacob Thornton committed
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
    <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>
2217
    <script src="assets/js/application.js"></script>
2218
2219


2220
2221
  </body>
</html>