remove unused build-responsive.less
[bootswatch] / bower_components / bootstrap / getting-started.html
1 ---
2 layout: default
3 title: Getting started
4 slug: getting-started
5 lead: "An overview of Bootstrap, how to download and use, basic templates and examples, and more."
6 base_url: "../"
7 ---
8
9
10   <!-- Getting started
11   ================================================== -->
12   <div class="bs-docs-section">
13     <div class="page-header">
14       <h1 id="download">Download Bootstrap</h1>
15     </div>
16     <p class="lead">Bootstrap has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.</p>
17
18     <h3 id="download-compiled">Compiled CSS, JS, and fonts</h3>
19     <p>The fastest way to get Bootstrap is to download the precompiled and minified versions of our CSS, JavaScript, and fonts. No documentation or original source code files are included.</p>
20     <p><a class="btn btn-lg btn-primary" href="{{ site.download_dist }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);" role="button">Download precompiled Bootstrap</a></p>
21
22     <h3 id="download-additional">Additional downloads</h3>
23     <div class="bs-docs-dl-options">
24       <h4>
25         <a href="{{ site.download_source }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);">Download source code</a>
26       </h4>
27       <p>Get the latest Bootstrap LESS and JavaScript source code by downloading it directly from GitHub.</p>
28       <h4>
29         <a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'GitHub project']);">Clone or fork via GitHub</a>
30       </h4>
31       <p>Visit us on GitHub to clone or fork the Bootstrap project.</p>
32       <h4>
33         Install with <a href="http://bower.io">Bower</a>
34       </h4>
35       <p>Install and manage Bootstrap's styles, JavaScript, and documentation using <a href="http://bower.io">Bower</a>.</p>
36       {% highlight bash %}$ bower install bootstrap{% endhighlight %}
37     </div>
38
39     <h3 id="download-cdn">Bootstrap CDN</h3>
40     <p>The folks over at <a href="http://www.maxcdn.com/">MaxCDN</a> graciously provide CDN support for Bootstrap's CSS and JavaScript. Just use these <a href="http://www.bootstrapcdn.com/">Bootstrap CDN</a> links.</p>
41 {% highlight html %}
42 <!-- Latest compiled and minified CSS -->
43 <link rel="stylesheet" href="{{ site.cdn_css }}">
44
45 <!-- Optional theme -->
46 <link rel="stylesheet" href="{{ site.cdn_theme_css }}">
47
48 <!-- Latest compiled and minified JavaScript -->
49 <script src="{{ site.cdn_js }}"></script>
50 {% endhighlight %}
51
52     <div class="bs-callout bs-callout-warning" id="callout-less-compilation">
53       <h4>Compiling Bootstrap's LESS files</h4>
54       <p>If you work with Bootstrap's uncompiled source code, you need to compile the LESS files to produce usable CSS files. For compiling LESS files into CSS, we only officially support <a href="http://twitter.github.io/recess/">Recess</a>, which is Twitter's CSS hinter based on <a href="http://lesscss.org">less.js</a>.</p>
55     </div>
56   </div>
57
58
59   <!-- File structure
60   ================================================== -->
61   <div class="bs-docs-section">
62     <div class="page-header">
63       <h1 id="whats-included">What's included</h1>
64     </div>
65     <p class="lead">Within the download you'll find the following directories and files, logically grouping common resources and providing both compiled and minified variations.</p>
66     <p>Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:</p>
67
68 <!-- NOTE: This info is intentionally duplicated in the README.
69 Copy any changes made here over to the README too. -->
70 {% highlight bash %}
71 bootstrap/
72 ├── css/
73 │   ├── bootstrap.css
74 │   ├── bootstrap.min.css
75 │   ├── bootstrap-theme.css
76 │   └── bootstrap-theme.min.css
77 ├── js/
78 │   ├── bootstrap.js
79 │   └── bootstrap.min.js
80 └── fonts/
81     ├── glyphicons-halflings-regular.eot
82     ├── glyphicons-halflings-regular.svg
83     ├── glyphicons-halflings-regular.ttf
84     └── glyphicons-halflings-regular.woff
85 {% endhighlight %}
86
87     <p>This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). Fonts from Glyphicons are included, as is the optional Bootstrap theme.</p>
88     <div class="bs-callout bs-callout-danger" id="jquery-required">
89       <h4>jQuery required</h4>
90       <p>Please note that <strong>all JavaScript plugins require jQuery</strong> to be included, as shown in the <a href="#template">starter template</a>. <a href="{{ site.repo }}/blob/v{{ site.current_version }}/bower.json">Consult our <code>bower.json</code></a> to see which versions of jQuery are supported.</p>
91     </div>
92   </div>
93
94
95   <!-- Template
96   ================================================== -->
97   <div class="bs-docs-section">
98     <div class="page-header">
99       <h1 id="template">Basic template</h1>
100     </div>
101     <p class="lead">Start with this basic HTML template, or modify <a href="../getting-started#examples">these examples</a>. We hope you'll customize our templates and examples, adapting them to suit your needs.</p>
102
103     <p>Copy the HTML below to begin working with a minimal Bootstrap document.</p>
104 {% highlight html %}
105 <!DOCTYPE html>
106 <html>
107   <head>
108     <title>Bootstrap 101 Template</title>
109     <meta name="viewport" content="width=device-width, initial-scale=1.0">
110     <!-- Bootstrap -->
111     <link href="css/bootstrap.min.css" rel="stylesheet">
112
113     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
114     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
115     <!--[if lt IE 9]>
116       <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
117       <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
118     <![endif]-->
119   </head>
120   <body>
121     <h1>Hello, world!</h1>
122
123     <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
124     <script src="https://code.jquery.com/jquery.js"></script>
125     <!-- Include all compiled plugins (below), or include individual files as needed -->
126     <script src="js/bootstrap.min.js"></script>
127   </body>
128 </html>
129 {% endhighlight %}
130   </div>
131
132
133   <!-- Template
134   ================================================== -->
135   <div class="bs-docs-section">
136     <div class="page-header">
137       <h1 id="examples">Examples</h1>
138     </div>
139     <p class="lead">Build on the basic template above with Bootstrap's many components. See also <a href="#customizing">Customizing Bootstrap</a> for tips on maintaining your own Bootstrap variants.</p>
140
141     <div class="row bs-examples">
142       <div class="col-xs-6 col-md-4">
143         <a class="thumbnail" href="../examples/starter-template/">
144           <img src="../examples/screenshots/starter-template.jpg" alt="">
145         </a>
146         <h4>Starter template</h4>
147         <p>Nothing but the basics: compiled CSS and JavaScript along with a container.</p>
148       </div>
149       <div class="col-xs-6 col-md-4">
150         <a class="thumbnail" href="../examples/grid/">
151           <img src="../examples/screenshots/grid.jpg" alt="">
152         </a>
153         <h4>Grids</h4>
154         <p>Multiple examples of grid layouts with all four tiers, nesting, and more.</p>
155       </div>
156       <div class="clearfix visible-xs"></div>
157
158       <div class="col-xs-6 col-md-4">
159         <a class="thumbnail" href="../examples/jumbotron/">
160           <img src="../examples/screenshots/jumbotron.jpg" alt="">
161         </a>
162         <h4>Jumbotron</h4>
163         <p>Build around the jumbotron with a navbar and some basic grid columns.</p>
164       </div>
165       <div class="col-xs-6 col-md-4">
166         <a class="thumbnail" href="../examples/jumbotron-narrow/">
167           <img src="../examples/screenshots/jumbotron-narrow.jpg" alt="">
168         </a>
169         <h4>Narrow jumbotron</h4>
170         <p>Build a more custom page by narrowing the default container and jumbotron.</p>
171       </div>
172       <div class="clearfix visible-xs"></div>
173
174       <div class="col-xs-6 col-md-4">
175         <a class="thumbnail" href="../examples/navbar/">
176           <img src="../examples/screenshots/navbar.jpg" alt="">
177         </a>
178         <h4>Navbar</h4>
179         <p>Super basic template that includes the navbar along with some additional content.</p>
180       </div>
181       <div class="col-xs-6 col-md-4">
182         <a class="thumbnail" href="../examples/navbar-static-top/">
183           <img src="../examples/screenshots/navbar-static.jpg" alt="">
184         </a>
185         <h4>Static top navbar</h4>
186         <p>Super basic template with a static top navbar along with some additional content.</p>
187       </div>
188       <div class="clearfix visible-xs"></div>
189
190       <div class="col-xs-6 col-md-4">
191         <a class="thumbnail" href="../examples/navbar-fixed-top/">
192           <img src="../examples/screenshots/navbar-fixed.jpg" alt="">
193         </a>
194         <h4>Fixed navbar</h4>
195         <p>Super basic template with a fixed top navbar along with some additional content.</p>
196       </div>
197       <div class="col-xs-6 col-md-4">
198         <a class="thumbnail" href="../examples/signin/">
199           <img src="../examples/screenshots/sign-in.jpg" alt="">
200         </a>
201         <h4>Sign-in page</h4>
202         <p>Custom form layout and design for a simple sign in form.</p>
203       </div>
204       <div class="clearfix visible-xs"></div>
205
206       <div class="col-xs-6 col-md-4">
207         <a class="thumbnail" href="../examples/sticky-footer/">
208           <img src="../examples/screenshots/sticky-footer.jpg" alt="">
209         </a>
210         <h4>Sticky footer</h4>
211         <p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p>
212       </div>
213       <div class="col-xs-6 col-md-4">
214         <a class="thumbnail" href="../examples/sticky-footer-navbar/">
215           <img src="../examples/screenshots/sticky-footer-navbar.jpg" alt="">
216         </a>
217         <h4>Sticky footer with navbar</h4>
218         <p>Attach a footer to the bottom of the viewport with a fixed navbar at the top.</p>
219       </div>
220       <div class="clearfix visible-xs"></div>
221
222       <div class="col-xs-6 col-md-4">
223         <a class="thumbnail" href="../examples/justified-nav/">
224           <img src="../examples/screenshots/justified-nav.jpg" alt="">
225         </a>
226         <h4>Justified nav</h4>
227         <p>Create a custom navbar with justified links. Heads up! <a href="../components/#nav-justified">Not too WebKit friendly.</a></p>
228       </div>
229       <div class="col-xs-6 col-md-4">
230         <a class="thumbnail" href="../examples/offcanvas/">
231           <img src="../examples/screenshots/offcanvas.jpg" alt="">
232         </a>
233         <h4>Offcanvas</h4>
234         <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
235       </div>
236       <div class="clearfix visible-xs"></div>
237
238       <div class="col-xs-6 col-md-4">
239         <a class="thumbnail" href="../examples/carousel/">
240           <img src="../examples/screenshots/carousel.jpg" alt="">
241         </a>
242         <h4>Carousel</h4>
243         <p>Customize the navbar and carousel, then add some new components.</p>
244       </div>
245       <div class="col-xs-6 col-md-4">
246         <a class="thumbnail" href="../examples/non-responsive/">
247           <img src="../examples/screenshots/non-responsive.jpg" alt="">
248         </a>
249         <h4>Non-responsive Bootstrap</h4>
250         <p>Easily disable the responsiveness of Bootstrap <a href="../getting-started/#disable-responsive">per our docs</a>.</p>
251       </div>
252       <div class="clearfix visible-xs"></div>
253
254       <div class="col-xs-6 col-md-4">
255         <a class="thumbnail" href="../examples/theme/">
256           <img src="../examples/screenshots/theme.jpg" alt="">
257         </a>
258         <h4>Bootstrap theme</h4>
259         <p>Load the optional Bootstrap theme for a visually enhanced experience.</p>
260       </div>
261     </div>
262
263   </div>
264
265
266   <!-- Template
267   ================================================== -->
268   <div class="bs-docs-section">
269     <div class="page-header">
270       <h1 id="disable-responsive">Disabling responsiveness</h1>
271     </div>
272     <p class="lead">Bootstrap automatically adapts your pages for various screen sizes.
273       Here's how to disable this feature so your page works like in <a href="../examples/non-responsive/">this non-responsive example</a>.</p>
274
275     <h3>Steps to disable page responsiveness</h3>
276     <ol>
277       <li>Omit the viewport <code>&lt;meta&gt;</code> mentioned in <a href="../css/#overview-mobile">the CSS docs</a></li>
278       <li>Override the <code>width</code> on the <code>.container</code> for each grid tier with a single width, for example <code>width: 970px !important;</code> Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the <code>!important</code> with media queries or some selector-fu.</li>
279       <li>If using navbars, remove all navbar collapsing and expanding behavior.</li>
280       <li>For grid layouts, use <code>.col-xs-*</code> classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.</li>
281     </ol>
282     <p>You'll still need Respond.js for IE8 (since our media queries are still there and need to be processed).
283       This disables the "mobile site" aspects of Bootstrap.</p>
284
285     <h3>Bootstrap template with responsiveness disabled</h3>
286     <p>We've applied these steps to an example. Read its source code to see the specific changes implemented.</p>
287     <p>
288       <a href="../examples/non-responsive/" class="btn btn-primary">View non-responsive example</a>
289     </p>
290   </div>
291
292
293   <!-- Migration
294   ================================================== -->
295   <div class="bs-docs-section">
296     <div class="page-header">
297       <h1 id="migration">Migrating from 2.x to 3.0</h1>
298     </div>
299     <p class="lead">Bootstrap 3 is not backwards compatible with v2.x. Use this section as a general guide to upgrading from v2.x to v3.0. For a broader overview, see <a href="http://blog.getbootstrap.com/2013/08/19/bootstrap-3-released/">what's new</a> in the v3.0 release announcement.</p>
300
301     <h2 id="migration-classes">Major class changes</h2>
302     <p>This table shows the style changes between v2.x and v3.0.</p>
303     <div class="table-responsive">
304       <table class="table table-bordered table-striped">
305         <thead>
306           <tr>
307             <th>Bootstrap 2.x</th>
308             <th>Bootstrap 3.0</th>
309           </tr>
310         </thead>
311         <tbody>
312           <tr>
313             <td><code>.container-fluid</code></td>
314             <td><code>.container</code></td>
315           </tr>
316           <tr>
317             <td><code>.row-fluid</code></td>
318             <td><code>.row</code></td>
319           </tr>
320           <tr>
321             <td><code>.span*</code></td>
322             <td><code>.col-md-*</code></td>
323           </tr>
324           <tr>
325             <td><code>.offset*</code></td>
326             <td><code>.col-md-offset-*</code></td>
327           </tr>
328           <tr>
329             <td><code>.brand</code></td>
330             <td><code>.navbar-brand</code></td>
331           </tr>
332           <tr>
333             <td><code>.nav-collapse</code></td>
334             <td><code>.navbar-collapse</code></td>
335           </tr>
336           <tr>
337             <td><code>.nav-toggle</code></td>
338             <td><code>.navbar-toggle</code></td>
339           </tr>
340           <tr>
341             <td><code>.btn-navbar</code></td>
342             <td><code>.navbar-btn</code></td>
343           </tr>
344           <tr>
345             <td><code>.hero-unit</code></td>
346             <td><code>.jumbotron</code></td>
347           </tr>
348           <tr>
349             <td><code>.icon-*</code></td>
350             <td><code>.glyphicon .glyphicon-*</code></td>
351           </tr>
352           <tr>
353             <td><code>.btn</code></td>
354             <td><code>.btn .btn-default</code></td>
355           </tr>
356           <tr>
357             <td><code>.btn-mini</code></td>
358             <td><code>.btn-xs</code></td>
359           </tr>
360           <tr>
361             <td><code>.btn-small</code></td>
362             <td><code>.btn-sm</code></td>
363           </tr>
364           <tr>
365             <td><code>.btn-large</code></td>
366             <td><code>.btn-lg</code></td>
367           </tr>
368           <tr>
369             <td><code>.alert-error</code></td>
370             <td><code>.alert-danger</code></td>
371           </tr>
372           <tr>
373             <td><code>.visible-phone</code></td>
374             <td><code>.visible-xs</code></td>
375           </tr>
376           <tr>
377             <td><code>.visible-tablet</code></td>
378             <td><code>.visible-sm</code></td>
379           </tr>
380           <tr>
381             <td><code>.visible-desktop</code></td>
382             <td><code>.visible-md</code></td>
383           </tr>
384           <tr>
385             <td><code>.hidden-phone</code></td>
386             <td><code>.hidden-xs</code></td>
387           </tr>
388           <tr>
389             <td><code>.hidden-tablet</code></td>
390             <td><code>.hidden-sm</code></td>
391           </tr>
392           <tr>
393             <td><code>.hidden-desktop</code></td>
394             <td><code>.hidden-md</code></td>
395           </tr>
396           <tr>
397             <td><code>.input-small</code></td>
398             <td><code>.input-sm</code></td>
399           </tr>
400           <tr>
401             <td><code>.input-large</code></td>
402             <td><code>.input-lg</code></td>
403           </tr>
404           <tr>
405             <td><code>.control-group</code></td>
406             <td><code>.form-group</code></td>
407           </tr>
408           <tr>
409             <td><code>.checkbox.inline</code> <code>.radio.inline</code></td>
410             <td><code>.checkbox-inline</code> <code>.radio-inline</code></td>
411           </tr>
412           <tr>
413             <td><code>.input-prepend</code> <code>.input-append</code></td>
414             <td><code>.input-group</code></td>
415           </tr>
416           <tr>
417             <td><code>.add-on</code></td>
418             <td><code>.input-group-addon</code></td>
419           </tr>
420           <tr>
421             <td><code>.img-polaroid</code></td>
422             <td><code>.img-thumbnail</code></td>
423           </tr>
424           <tr>
425             <td><code>ul.unstyled</code></td>
426             <td><code>.list-unstyled</code></td>
427           </tr>
428           <tr>
429             <td><code>ul.inline</code></td>
430             <td><code>.list-inline</code></td>
431           </tr>
432           <tr>
433             <td><code>.muted</code></td>
434             <td><code>.text-muted</code></td>
435           </tr>
436           <tr>
437             <td><code>.text-error</code></td>
438             <td><code>.text-danger</code></td>
439           </tr>
440           <tr>
441             <td><code>.table .error</code></td>
442             <td><code>.table .danger</code></td>
443           </tr>
444           <tr>
445             <td><code>.bar</code></td>
446             <td><code>.progress-bar</code></td>
447           </tr>
448           <tr>
449             <td><code>.bar-*</code></td>
450             <td><code>.progress-bar-*</code></td>
451           </tr>
452           <tr>
453             <td><code>.accordion</code></td>
454             <td><code>.panel-group</code></td>
455           </tr>
456           <tr>
457             <td><code>.accordion-group</code></td>
458             <td><code>.panel .panel-default</code></td>
459           </tr>
460           <tr>
461             <td><code>.accordion-heading</code></td>
462             <td><code>.panel-heading</code></td>
463           </tr>
464           <tr>
465             <td><code>.accordion-body</code></td>
466             <td><code>.panel-collapse</code></td>
467           </tr>
468           <tr>
469             <td><code>.accordion-inner</code></td>
470             <td><code>.panel-body</code></td>
471           </tr>
472         </tbody>
473       </table>
474     </div><!-- /.table-responsive -->
475
476     <h2 id="migration-new">What's new</h2>
477     <p>We've added new elements and changed some existing ones. Here are the new or updated styles.</p>
478     <div class="table-responsive">
479       <table class="table table-bordered table-striped">
480         <thead>
481           <tr>
482             <th>Element</th>
483             <th>Description</th>
484           </tr>
485         </thead>
486         <tbody>
487           <tr>
488             <td>Panels</td>
489             <td><code>.panel .panel-default</code> <code>.panel-body</code> <code>.panel-title</code> <code>.panel-heading</code> <code>.panel-footer</code> <code>.panel-collapse</code></td>
490           </tr>
491           <tr>
492             <td>List groups</td>
493             <td><code>.list-group</code> <code>.list-group-item</code> <code>.list-group-item-text</code> <code>.list-group-item-heading</code></td>
494           </tr>
495           <tr>
496             <td>Glyphicons</td>
497             <td><code>.glyphicon</code></td>
498           </tr>
499           <tr>
500             <td>Jumbotron</td>
501             <td><code>.jumbotron</code></td>
502           </tr>
503           <tr>
504             <td>Extra small grid (&lt;768px)</td>
505             <td><code>.col-xs-*</code></td>
506           </tr>
507           <tr>
508             <td>Small grid (&ge;768px)</td>
509             <td><code>.col-sm-*</code></td>
510           </tr>
511           <tr>
512             <td>Medium grid (&ge;992px)</td>
513             <td><code>.col-md-*</code></td>
514           </tr>
515           <tr>
516             <td>Large grid (&ge;1200px)</td>
517             <td><code>.col-lg-*</code></td>
518           </tr>
519           <tr>
520             <td>Responsive utility classes (&ge;1200px)</td>
521             <td><code>.visible-lg</code> <code>.hidden-lg</code></td>
522           </tr>
523           <tr>
524             <td>Offsets</td>
525             <td><code>.col-sm-offset-*</code> <code>.col-md-offset-*</code> <code>.col-lg-offset-*</code></td>
526           </tr>
527           <tr>
528             <td>Push</td>
529             <td><code>.col-sm-push-*</code> <code>.col-md-push-*</code> <code>.col-lg-push-*</code></td>
530           </tr>
531           <tr>
532             <td>Pull</td>
533             <td><code>.col-sm-pull-*</code> <code>.col-md-pull-*</code> <code>.col-lg-pull-*</code></td>
534           </tr>
535           <tr>
536             <td>Input groups</td>
537             <td><code>.input-group</code> <code>.input-group-addon</code> <code>.input-group-btn</code></td>
538           </tr>
539           <tr>
540             <td>Form controls</td>
541             <td><code>.form-control</code> <code>.form-group</code></td>
542           </tr>
543           <tr>
544             <td>Button group sizes</td>
545             <td><code>.btn-group-xs</code> <code>.btn-group-sm</code> <code>.btn-group-lg</code></td>
546           </tr>
547           <tr>
548             <td>Navbar text</td>
549             <td><code>.navbar-text</code></td>
550           </tr>
551           <tr>
552             <td>Navbar header</td>
553             <td><code>.navbar-header</code></td>
554           </tr>
555           <tr>
556             <td>Justified tabs / pills</td>
557             <td><code>.nav-justified</code></td>
558           </tr>
559           <tr>
560             <td>Responsive images</td>
561             <td><code>.img-responsive</code></td>
562           </tr>
563           <tr>
564             <td>Contextual table rows</td>
565             <td><code>.success</code> <code>.danger</code> <code>.warning</code> <code>.active</code></td>
566           </tr>
567           <tr>
568             <td>Contextual panels</td>
569             <td><code>.panel-success</code> <code>.panel-danger</code> <code>.panel-warning</code> <code>.panel-info</code></td>
570           </tr>
571           <tr>
572             <td>Modal</td>
573             <td><code>.modal-dialog</code> <code>.modal-content</code></td>
574           </tr>
575           <tr>
576             <td>Thumbnail image</td>
577             <td><code>.img-thumbnail</code></td>
578           </tr>
579           <tr>
580             <td>Well sizes</td>
581             <td><code>.well-sm</code> <code>.well-lg</code></td>
582           </tr>
583           <tr>
584             <td>Alert links</td>
585             <td><code>.alert-link</code></td>
586           </tr>
587         </tbody>
588       </table>
589     </div><!-- /.table-responsive -->
590
591
592     <h2 id="migration-dropped">What's removed</h2>
593     <p>The following elements have been dropped or changed in v3.0.</p>
594     <div class="table-responsive">
595       <table class="table table-bordered table-striped">
596         <thead>
597           <tr>
598             <th>Element</th>
599             <th>Removed from 2.x</th>
600             <th>3.0 Equivalent</th>
601           </tr>
602         </thead>
603         <tbody>
604           <tr>
605             <td>Form actions</td>
606             <td><code>.form-actions</code></td>
607             <td class="text-muted">N/A</td>
608           </tr>
609           <tr>
610             <td>Search form</td>
611             <td><code>.form-search</code></td>
612             <td class="text-muted">N/A</td>
613           </tr>
614           <tr>
615             <td>Fluid container</td>
616             <td><code>.container-fluid</code></td>
617             <td><code>.container</code> (no more fixed grid)</td>
618           </tr>
619           <tr>
620             <td>Fluid row</td>
621             <td><code>.row-fluid</code></td>
622             <td><code>.row</code> (no more fixed grid)</td>
623           </tr>
624           <tr>
625             <td>Controls wrapper</td>
626             <td><code>.controls</code></td>
627             <td class="text-muted">N/A</td>
628           </tr>
629           <tr>
630             <td>Controls row</td>
631             <td><code>.controls-row</code></td>
632             <td><code>.row</code> or <code>.form-group</code></td>
633           </tr>
634           <tr>
635             <td>Navbar inner</td>
636             <td><code>.navbar-inner</code></td>
637             <td class="text-muted">N/A</td>
638           </tr>
639           <tr>
640             <td>Navbar vertical dividers</td>
641             <td><code>.navbar .divider-vertical</code></td>
642             <td class="text-muted">N/A</td>
643           </tr>
644           <tr>
645             <td>Dropdown submenu</td>
646             <td><code>.dropdown-submenu</code></td>
647             <td class="text-muted">N/A</td>
648           </tr>
649           <tr>
650             <td>Tab alignments</td>
651             <td><code>.tabs-left</code> <code>.tabs-right</code> <code>.tabs-below</code></td>
652             <td class="text-muted">N/A</td>
653           </tr>
654           <tr>
655             <td>Nav lists</td>
656             <td><code>.nav-list</code> <code>.nav-header</code></td>
657             <td>No direct equivalent, but <a href="../components/#list-group">list groups</a> and <a href="../javascript/#collapse"><code>.panel-group</code>s</a> are similar.</td>
658           </tr>
659         </tbody>
660       </table>
661     </div><!-- /.table-responsive -->
662
663
664     <h2 id="migration-notes">Additional notes</h2>
665     <p>Other changes in v3.0 are not immediately apparent. Base classes, key styles, and behaviors have been adjusted for flexibility and our <em>mobile first</em> approach. Here's a partial list:</p>
666     <ul>
667       <li>By default, text-based form controls now receive only minimal styling.  For focus colors and rounded corners, apply the <code>.form-control</code> class on the element to style.</li>
668       <li>Text-based form controls with the <code>.form-control</code> class applied are now 100% wide by default. Wrap inputs inside <code>&lt;div class="col-*"&gt;&lt;/div&gt;</code> to control input widths.</li>
669       <li><code>.badge</code> no longer has contextual (-success,-primary,etc..) classes.</li>
670       <li><code>.btn</code> must also use <code>.btn-default</code> to get the "default" button.</li>
671       <li><code>.container</code> and <code>.row</code> are now fluid (percentage-based).</li>
672       <li>Images are no longer responsive by default. Use <code>.img-responsive</code> for fluid <code>&lt;img&gt;</code> size.</li>
673       <li>The icons, now <code>.glyphicon</code>, are now font based. Icons also require a base and icon class (e.g. <code>.glyphicon .glyphicon-asterisk</code>).</li>
674       <li>Typeahead has been dropped, in favor of using <a href="http://twitter.github.io/typeahead.js/">Twitter Typeahead</a>.</li>
675       <li>Modal markup has changed significantly. The <code>.modal-header</code>, <code>.modal-body</code>, and <code>.modal-footer</code> sections are now wrapped in <code>.modal-content</code> and <code>.modal-dialog</code> for better mobile styling and behavior.</li>
676       <li>The HTML loaded by the <code>remote</code> modal option is now injected into the <code>.modal</code> instead of into the <code>.modal-body</code>. This allows you to also easily vary the header and footer of the modal, not just the modal body.</li>
677       <li>JavaScript events are namespaced. For example, to handle the modal "show" event, use <code>'show.bs.modal'</code>. For tabs "shown" use <code>'shown.bs.tab'</code>, etc..</li>
678     </ul>
679     <p>For more information on upgrading to v3.0, and code snippets from the community, see <a href="http://bootply.com/">Bootply</a>.</p>
680   </div>
681
682
683   <!-- Browser support
684   ================================================== -->
685   <div class="bs-docs-section">
686     <div class="page-header">
687       <h1 id="browsers">Browser support</h1>
688     </div>
689     <p class="lead">Bootstrap is built to work best in the latest desktop and mobile browsers, meaning older browsers might display differently styled, though fully functional, renderings of certain components.</p>
690
691     <h3>Supported browsers</h3>
692     <p>Specifically, we support the latest versions of the following:</p>
693     <ul>
694       <li>Chrome (Mac, Windows, iOS, and Android)</li>
695       <li>Safari (Mac and iOS only, as the Windows version is being abandoned)</li>
696       <li>Firefox (Mac, Windows)</li>
697       <li>Internet Explorer</li>
698       <li>Opera (Mac, Windows)</li>
699     </ul>
700     <p>Unofficially, Bootstrap should look and behave well enough in Chromium and Chrome for Linux, Firefox for Linux, and Internet Explorer 7, though they are not officially supported.</p>
701
702     <h3>Internet Explorer 8 and 9</h3>
703     <p>Internet Explorer 8 and 9 are also supported, however, please be aware that some CSS3 properties and HTML5 elements are not fully supported by these browsers. In addition, <strong>Internet Explorer 8 requires the use of <a href="https://github.com/scottjehl/Respond">Respond.js</a> to enable media query support.</strong></p>
704     <div class="table-responsive">
705       <table class="table table-bordered table-striped">
706         <thead>
707           <tr>
708             <th scope="col" class="col-xs-4">Feature</th>
709             <th scope="col" class="col-xs-4">Internet Explorer 8</th>
710             <th scope="col" class="col-xs-4">Internet Explorer 9</th>
711           </tr>
712         </thead>
713         <tbody>
714           <tr>
715             <th scope="row"><code>border-radius</code></th>
716             <td class="text-danger"><span class="glyphicon glyphicon-remove"></span> Not supported</td>
717             <td class="text-success"><span class="glyphicon glyphicon-ok"></span> Supported</td>
718           </tr>
719           <tr>
720             <th scope="row"><code>box-shadow</code></th>
721             <td class="text-danger"><span class="glyphicon glyphicon-remove"></span> Not supported</td>
722             <td class="text-success"><span class="glyphicon glyphicon-ok"></span> Supported</td>
723           </tr>
724           <tr>
725             <th scope="row"><code>transform</code></th>
726             <td class="text-danger"><span class="glyphicon glyphicon-remove"></span> Not supported</td>
727             <td class="text-success"><span class="glyphicon glyphicon-ok"></span> Supported, with <code>-ms</code> prefix</td>
728           </tr>
729           <tr>
730             <th scope="row"><code>transition</code></th>
731             <td colspan="2" class="text-danger"><span class="glyphicon glyphicon-remove"></span> Not supported</td>
732           </tr>
733         </tbody>
734         <tbody>
735           <tr>
736             <th scope="row"><code>placeholder</code></th>
737             <td colspan="2" class="text-danger"><span class="glyphicon glyphicon-remove"></span> Not supported</td>
738           </tr>
739         </tbody>
740       </table>
741     </div>
742
743     <p>Visit <a href="http://caniuse.com/">Can I use...</a> for details on browser support of CSS3 and HTML5 features.</p>
744
745     <h3>Internet Explorer 8 and Respond.js</h3>
746     <p>Beware of the following caveats when using Respond.js in your development and production environments for Internet Explorer 8.</p>
747     <h4 id="respond-js-x-domain">Respond.js and cross-domain CSS</h4>
748     <p>Using Respond.js with CSS hosted on a different (sub)domain (for example, on a CDN) requires some additional setup. <a href="https://github.com/scottjehl/Respond/blob/master/README.md#cdnx-domain-setup">See the Respond.js docs</a> for details.</p>
749     <h4 id="respond-file-proto">Respond.js and <code>file://</code></h4>
750     <p>Due to browser security rules, Respond.js doesn't work with pages viewed via the <code>file://</code> protocol (like when opening a local HTML file). To test responsive features in IE8, view your pages over HTTP(S). <a href="https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats">See the Respond.js docs</a> for details.</p>
751     <h4 id="respond-import">Respond.js and <code>@import</code></h4>
752     <p>Respond.js doesn't work with CSS that's referenced via <code>@import</code>. In particular, some Drupal configurations are known to use <code>@import</code>. <a href="https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats">See the Respond.js docs</a> for details.</p>
753
754     <h3>Internet Explorer 8 and box-sizing</h3>
755     <p>IE8 does not fully support <code>box-sizing: border-box;</code> when combined with <code>min-width</code>, <code>max-width</code>, <code>min-height</code>, or <code>max-height</code>. For that reason, as of v3.0.1, we no longer use <code>max-width</code> on <code>.container</code>s.</p>
756
757     <h3 id="ie-compat-modes">IE Compatibility modes</h3>
758     <p>Bootstrap is not supported in the old Internet Explorer compatibility modes. To be sure you're using the latest rendering mode for IE, consider including the appropriate <code>&lt;meta&gt;</code> tag in your pages:</p>
759 {% highlight html %}
760 <meta http-equiv="X-UA-Compatible" content="IE=edge">
761 {% endhighlight %}
762     <p>This tag is included in all docs pages and examples to ensure the best rendering possible in each supported version of Internet Explorer.</p>
763     <p>See <a href="http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge">this StackOverflow question</a> for more information.</p>
764
765     <h3 id="ie-10-width">Internet Explorer 10 in Windows 8 and Windows Phone 8</h3>
766     <p>Internet Explorer 10 doesn't differentiate <strong>device width</strong> from <strong>viewport width</strong>, and thus doesn't properly apply the media queries in Bootstrap's CSS. Normally you'd just add a quick snippet of CSS to fix this:</p>
767 {% highlight css %}
768 @-ms-viewport       { width: device-width; }
769 {% endhighlight %}
770     <p>However, this doesn't work as it causes Windows Phone 8 devices to show a mostly desktop view instead of narrow "phone" view. To address this, you'll need to <strong>include the following CSS and JavaScript to work around the bug until Microsoft issues a fix</strong>.</p>
771 {% highlight css %}
772 @-webkit-viewport   { width: device-width; }
773 @-moz-viewport      { width: device-width; }
774 @-ms-viewport       { width: device-width; }
775 @-o-viewport        { width: device-width; }
776 @viewport           { width: device-width; }
777 {% endhighlight %}
778
779 {% highlight js %}
780 if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
781   var msViewportStyle = document.createElement("style")
782   msViewportStyle.appendChild(
783     document.createTextNode(
784       "@-ms-viewport{width:auto!important}"
785     )
786   )
787   document.getElementsByTagName("head")[0].appendChild(msViewportStyle)
788 }
789 {% endhighlight %}
790     <p>For more information and usage guidelines, read <a href="http://timkadlec.com/2013/01/windows-phone-8-and-device-width/">Windows Phone 8 and Device-Width</a>.</p>
791     <p>As a heads up, we include this in the Bootstrap docs as an example.</p>
792
793     <h3 id="safari-percentages">Safari percent rounding</h3>
794     <p>As of Safari v6.1 for OS X and Safari for iOS v7.0.1, Safari's rendering engine has some trouble with the number of decimal places used in our <code>.col-*-1</code> grid classes. So if you have 12 individual grid columns, you'll notice that they come up short compared to other rows of columns. We can't do much here (<a href="https://github.com/twbs/bootstrap/issues/9282">see #9282</a>) but you do have some options:</p>
795     <ul>
796       <li>Add <code>.pull-right</code> to your last grid column to get the hard-right alignment</li>
797       <li>Tweak your percentages manually to get the perfect rounding for Safari (more difficult than the first option)</li>
798     </ul>
799     <p>We'll keep an eye on this though and update our code if we have an easy solution.</p>
800
801     <h3 id="mobile-modals">Modals and mobile devices</h3>
802     <h4>Overflow and scrolling</h4>
803     <p>Support for <code>overflow: hidden</code> on the <code>&lt;body&gt;</code> element is quite limited in iOS and Android. To that end, when you scroll past the top or bottom of a modal in either of those devices' browsers, the <code>&lt;body&gt;</code> content will begin to scroll.</p>
804     <h4>Virtual keyboards</h4>
805     <p>Also, note that if you're using inputs in your modal – iOS has a rendering bug that doesn't update the position of fixed elements when the virtual keyboard is triggered. A few workarounds for this include transforming your elements to <code>position: absolute</code> or invoking a timer on focus to try to correct the positioning manually. This is not handled by Bootstrap, so it is up to you to decide which solution is best for your application.</p>
806
807     <h3 id="browser-zoom">Browser zooming</h3>
808     <p>Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.</p>
809   </div>
810
811
812   <!-- Third party support
813   ================================================== -->
814   <div class="bs-docs-section">
815     <div class="page-header">
816       <h1 id="third-parties">Third party support</h1>
817     </div>
818     <p class="lead">While we don't officially support any third party plugins or add-ons, we do offer some useful advice to help avoid potential issues in your projects.</p>
819
820     <h3>Box-sizing</h3>
821     <p>Some third party software, including Google Maps and Google Custom Search Engine, conflict with Bootstrap due to <code>* { box-sizing: border-box; }</code>, a rule which makes it so <code>padding</code> does not affect the final computed width of an element. Learn more about <a href="http://css-tricks.com/box-sizing/">box model and sizing at CSS Tricks</a>.</p>
822     <p>Depending on the context, you may override as-needed (Option 1) or reset the box-sizing for entire regions (Option 2).</p>
823 {% highlight css %}
824 /* Box-sizing resets
825  *
826  * Reset individual elements or override regions to avoid conflicts due to
827  * global box model settings of Bootstrap. Two options, individual overrides and
828  * region resets, are available as plain CSS and uncompiled LESS formats.
829  */
830
831 /* Option 1A: Override a single element's box model via CSS */
832 .element {
833   -webkit-box-sizing: content-box;
834      -moz-box-sizing: content-box;
835           box-sizing: content-box;
836 }
837
838 /* Option 1B: Override a single element's box model by using a Bootstrap LESS mixin */
839 .element {
840   .box-sizing(content-box);
841 }
842
843 /* Option 2A: Reset an entire region via CSS */
844 .reset-box-sizing,
845 .reset-box-sizing *,
846 .reset-box-sizing *:before,
847 .reset-box-sizing *:after {
848   -webkit-box-sizing: content-box;
849      -moz-box-sizing: content-box;
850           box-sizing: content-box;
851 }
852
853 /* Option 2B: Reset an entire region with a custom LESS mixin */
854 .reset-box-sizing {
855   &,
856   *,
857   *:before,
858   *:after {
859     .box-sizing(content-box);
860   }
861 }
862 .element {
863   .reset-box-sizing();
864 }
865 {% endhighlight %}
866   </div>
867
868
869   <!-- Accessibility
870   ================================================== -->
871   <div class="bs-docs-section">
872     <div class="page-header">
873       <h1 id="accessibility">Accessibility</h1>
874     </div>
875     <p class="lead">Bootstrap follows common web standards, and with minimal extra effort, can be used to create sites that are accessible to those using <abbr title="Assistive Technology" class="initialism">AT</abbr>.</p>
876
877     <h3>Skip navigation</h3>
878     <p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to main content</code> link immediately after your opening <code>&lt;body&gt;</code> tag. <a href="http://a11yproject.com/posts/skip-nav-links/">(read why)</a></p>
879 {% highlight html %}
880 <body>
881   <a href="#content" class="sr-only">Skip to main content</a>
882   <div class="container" id="content">
883     The main page content.
884   </div>
885 </body>
886 {% endhighlight %}
887
888     <h3>Nested headings</h3>
889     <p>When nesting headings (<code>&lt;h1&gt;</code> - <code>&lt;h6&gt;</code>), your primary document header should be an <code>&lt;h1&gt;</code>. Subsequent headings should make logical use of <code>&lt;h2&gt;</code> - <code>&lt;h6&gt;</code> such that screen readers can construct a table of contents for your pages.</p>
890     <p>Learn more at <a href="http://squizlabs.github.io/HTML_CodeSniffer/Standards/Section508/">HTML CodeSniffer</a> and <a href="http://accessibility.psu.edu/headings">Penn State's AccessAbility</a>.</p>
891
892     <h3>Additional resources</h3>
893     <ul>
894       <li><a href="https://github.com/squizlabs/HTML_CodeSniffer">"HTML Codesniffer" bookmarklet for identifying accessibility issues</a></li>
895       <li><a href="http://a11yproject.com/">The A11Y Project</a></li>
896       <li><a href="https://developer.mozilla.org/en-US/docs/Accessibility">MDN accessibility documentation</a></li>
897     </ul>
898   </div>
899
900
901   <!-- License FAQs
902   ================================================== -->
903   <div class="bs-docs-section">
904     <div class="page-header">
905       <h1 id="license-faqs">License FAQs</h1>
906     </div>
907     <p class="lead">Bootstrap is released under the Apache 2 license and is copyright {{ site.time | date: "%Y" }} Twitter. Boiled down to smaller chunks, it can be described with the following conditions.</p>
908
909     <div class="row">
910       <div class="col-12 col-lg-6">
911         <h4>It allows you to:</h4>
912         <ul>
913           <li>Freely download and use Bootstrap, in whole or in part, for personal, company internal or commercial purposes</li>
914           <li>Use Bootstrap in packages or distributions that you create</li>
915         </ul>
916       </div>
917       <div class="col-12 col-lg-6">
918         <h4>It forbids you to:</h4>
919         <ul>
920           <li>Redistribute any piece of Bootstrap without proper attribution</li>
921           <li>Use any marks owned by Twitter in any way that might state or imply that Twitter endorses your distribution</li>
922           <li>Use any marks owned by Twitter in any way that might state or imply that you created the Twitter software in question</li>
923         </ul>
924       </div>
925     </div>
926     <div class="row">
927       <div class="col-12 col-lg-6">
928         <h4>It requires you to:</h4>
929         <ul>
930           <li>Include a copy of the license in any redistribution you may make that includes Bootstrap</li>
931           <li>Provide clear attribution to Twitter for any distributions that include Bootstrap</li>
932         </ul>
933       </div>
934       <div class="col-12 col-lg-6">
935         <h4>It does not require you to:</h4>
936         <ul>
937           <li>Include the source of Bootstrap itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it</li>
938           <li>Submit changes that you make to Bootstrap back to the Bootstrap project (though such feedback is encouraged)</li>
939         </ul>
940       </div>
941     </div>
942     <p>The full Bootstrap license is located <a href="{{ site.repo }}/blob/master/README.md">in the project repository</a> for more information.</p>
943   </div><!-- /.bs-docs-section -->
944
945
946   <div class="bs-docs-section">
947     <div class="page-header">
948       <h1 id="customizing">Customizing Bootstrap</h1>
949     </div>
950     <p class="lead">Bootstrap is best maintained when you treat it as a separate and independently-versioned dependency in your development environment. Doing this makes upgrading Bootstrap easier in the future.</p>
951
952     <p>Once you've downloaded and included Bootstrap's styles and scripts, you can customize its components. Just create a new stylesheet (LESS, if you like, or just plain CSS) to house your customizations.</p>
953
954     <div class="bs-callout bs-callout-info">
955       <h4>Compiled or minified?</h4>
956       <p>Unless you plan on reading the CSS, go with minified stylesheets. It's the same code, just compacted. Minified styles use less bandwidth, which is good, especially in production environments.</p>
957     </div>
958
959     <p>From there, include whatever Bootstrap components and HTML content you need to create templates for your site's pages.</p>
960
961     <h3>Customizing components</h3>
962     <p>You can customize components to varying degrees, but most fall into two camps: <em>light customizations</em> and <em>overhauls</em>. Plenty examples of both are available from third parties.</p>
963     <p>We define <em>light customizations</em> as superficial changes, for example, color and font changes to existing Bootstrap components. A light customization example is the <a href="http://translate.twitter.com">Twitter Translation Center</a> (coded by <a href="https://twitter.com/mdo">@mdo</a>). Let's look at how to implement the custom button we wrote for this site, <code>.btn-ttc</code>.</p>
964     <p>The stock Bootstrap buttons require just one class, <code>.btn</code>, to start.  Here we extend the <code>.btn</code> style with a new modifier class, <code>.btn-ttc</code>, that we will create. This gives us a distinct custom look with minimal effort.</p>
965     <p>Our customized button will be coded like this:</p>
966 {% highlight html %}
967 <button type="button" class="btn btn-ttc">Save changes</button>
968 {% endhighlight %}
969     <p>Note how <code>.btn-ttc</code> is added to the standard <code>.btn</code> class.</p>
970
971     <p>To implement this, in the custom stylesheet, add the following CSS:</p>
972
973 {% highlight css %}
974 /* Custom button
975 -------------------------------------------------- */
976
977 /* Override base .btn styles */
978 /* Apply text and background changes to three key states: default, hover, and active (click). */
979 .btn-ttc,
980 .btn-ttc:hover,
981 .btn-ttc:active {
982   color: white;
983   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
984   background-color: #007da7;
985 }
986
987 /* Apply the custom-colored gradients */
988 /* Note: you'll need to include all the appropriate gradients for various browsers and standards. */
989 .btn-ttc {
990   background-repeat: repeat-x;
991   background-image: linear-gradient(top, #009ED2 0%, #007DA7 100%);
992   ...
993 }
994
995 /* Set the hover state */
996 /* An easy hover state is just to move the gradient up a small amount. Add other embellishments as you see fit. */
997 .btn-ttc:hover {
998   background-position: 0 -15px;
999 }
1000 {% endhighlight %}
1001
1002     <p>In short: Look to the style source and duplicate the selectors you need for your modifications.</p>
1003     <p><strong>In summary, here's the basic workflow:</strong></p>
1004     <ul>
1005       <li>For each element you want to customize, find its code in the compiled Bootstrap CSS.</li>
1006       <li>Copy the component's selector and styles and paste them in your custom stylesheet. For instance, to customize the navbar background, just copy the <code>.navbar</code> style specification.</li>
1007       <li>In your custom stylesheet, edit the CSS you just copied from the Bootstrap source. No need for prepending additional classes, or appending <code>!important</code> here.  Keep it simple.</li>
1008       <li>Rinse and repeat until you're happy with your customizations.</li>
1009     </ul>
1010     <p>Once you are comfortable performing light customizations, visual overhauls are just as straightforward. For a site like <a href="http://yourkarma.com">Karma</a>, which uses Bootstrap as a CSS reset with heavy modifications, more extensive work is involved.  But the same principle applies: include Bootstrap's default stylesheet first, then apply your custom stylesheet.</p>
1011
1012     <div class="bs-callout bs-callout-info">
1013       <h4>Alternate customization methods</h4>
1014       <p>While not recommended for folks new to Bootstrap, you may use one of two alternate methods for customization. The first is modifying the source <code>.less</code> files (making upgrades super difficult), and the second is mapping source LESS code to <a href="http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html">your own classes via mixins</a>. For the time being, neither of those options are documented here.</p>
1015     </div>
1016
1017     <h3>Removing potential bloat</h3>
1018     <p>Not all sites and applications need to make use of everything Bootstrap has to offer, especially in production environments where optimizing bandwidth is an issue. We encourage you to remove whatever is unused with our <a href="../customize/">Customizer</a>.</p>
1019     <p>Using the Customizer, simply uncheck any component, feature, or asset you don't need. Hit download and swap out the default Bootstrap files with these newly customized ones. You'll get vanilla Bootstrap, but without the features *you* deem unnecessary. All custom builds include compiled and minified versions, so use whichever works for you.</p>
1020
1021   </div>