Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites.<br/>
It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.<br/>
</p>
<p><strong>Nerd alert:</strong> Bootstrap is <ahref="#less"title="Read about using Bootstrap with Less">built with Less</a> and was designed to work out of the gate with only modern browsers in mind.</p>
</div><!-- /container -->
</div>
</div>
<divclass="quickstart">
<divclass="container">
<divclass="row">
<divclass="span5 columns">
<h6>Hotlink the CSS</h6>
<p>For the quickest and easiest start, just copy this snippet into your webpage.</p>
<p>Download, fork, pull, file issues, and more with the official Bootstrap repo on Github.</p>
<p><atarget="_blank"href="https://github.com/twitter/bootstrap"class="btn primary">Bootstrap on GitHub »</a></p>
</div>
</div>
</div>
</div>
<divclass="container">
<sectionid="grid-system">
<divclass="page-header">
<h1>Grid system <small>Rock the standard 940px or roll your own</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Default grid</h2>
<p>The default grid system provided as part of Bootstrap is a 940px wide 16-column grid. It's a flavor of the popular 960 grid system, but without the additional margin/padding on the left and right sides.</p>
</div>
<divclass="span12 columns">
<h3>Example grid markup</h3>
<p>As shown here, a basic layout can be created with two "columns," each spanning a number of the 16 foundational columns we defined as part of our grid system. See the examples below for more variations.</p>
<h1>Layouts <small>Basic templates to create webpages</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Fixed layout</h2>
<p>A basic 940px wide, centered container layout for just about any site or page.</p>
</div>
<divclass="span12 columns">
<divclass="mini-layout">
<divclass="mini-layout-body"></div>
</div>
<preclass="prettyprint linenums">
<body>
<div class="container">
...
</div>
</body>
</pre>
</div>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Fluid layout</h2>
<p>A flexible fluid or liquid page structure with min- and max-widths and a left-hand sidebar. Great for apps.</p>
</div>
<divclass="span12 columns">
<divclass="mini-layout fluid">
<divclass="mini-layout-sidebar"></div>
<divclass="mini-layout-body"></div>
</div>
<preclass="prettyprint linenums">
<body>
<div class="container-fluid">
<div class="sidebar">
...
</div>
<div class="content">
...
</div>
</div>
</body>
</pre>
</div>
</div>
</section>
<sectionid="typography">
<divclass="page-header">
<h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Headings and copy</h2>
<p>A standard typographic hierarchy for structuring your webpages.</p>
</div>
<divclass="span6 columns">
<h1>h1. Heading 1</h1>
<h2>h2. Heading 2</h2>
<h3>h3. Heading 3</h3>
<h4>h4. Heading 4</h4>
<h5>h5. Heading 5</h5>
<h6>h6. Heading 6</h6>
</div>
<divclass="span6 columns">
<h3>Example paragraph</h3>
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<p>You can also add subheadings with the <code><strong></code> and <code><em></code></p>
</div>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Misc. elements</h2>
<p>Using emphasis, addresses, & abbreviations</p>
<p>
<code><strong></code>
<code><em></code>
<code><address></code>
<code><abbr></code>
</p>
</div>
<divclass="span12 columns">
<h4>When to use</h4>
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to add visual distinction between a word or phrase and its surrounding copy. Use <code><strong></code> for plain old attention and <code><em></code> for <em>slick</em> attention and titles.</p>
<h3>Emphasis in a paragraph</h3>
<p><ahref="">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
<h3>Addresses</h3>
<p>The <code>address</code> element is used for—you guessed it!—addresses. Here's how it looks:</p>
<address>
<strong>Twitter, Inc.</strong><br/>
795 Folsom Ave, Suite 600<br/>
San Francisco, CA 94107<br/>
<abbrtitle="Phone">P:</abbr> (123) 456-7890
</address>
<p><strong>Note:</strong> Each line in an <code>address</code> must end with a line-break (<code><br /></code>) to properly structure the content as it is read in real life without any styles applied.</p>
<h3>Abbreviations</h3>
<p>For abbreviations and acronyms, use the <code>abbr</code> tag (<code>acronym</code> is deprecated in <abbrtitle="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
</div>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Blockquotes</h2>
<p>
<code><blockquote></code>
<code><p></code>
<code><cite></code>
</p>
</div>
<divclass="span12 columns">
<p>Be sure to wrap your <code>blockquote</code> around <code>paragraph</code> and <code>cite</code> tags. When citing a source, use the <code>cite</code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua...</p>
<dd>A description list is perfect for defining terms.</dd>
<dt>Euismod</dt>
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
<dt>Malesuada porta</dt>
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
</dl>
</div>
</div>
</section>
<sectionid="tables">
<divclass="page-header">
<h1>Tables <small>For, you guessed it, tabular data</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Building tables</h2>
<p>
<code><table></code>
<code><thead></code>
<code><tbody></code>
<code><tr></code>
<code><th></code>
<code><td></code>
<code><colspan></code>
<code><caption></code>
</p>
<p>Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.</p>
<p>Always wrap your column headers in a <code>thead</code> such that hierarchy is <code>thead</code> > <code>tr</code> > <code>th</code>.</p>
<p>Similar to the column headers, all your table's body content should be wrapped in a <code>tbody</code> so your hierarchy is <code>tbody</code> > <code>tr</code> > <code>td</code>.</p>
</ul>
</div>
<divclass="span12 columns">
<h3>Example: Default table styles</h3>
<p>All tables will be automatically styled with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.</p>
<table>
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Language</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Some</td>
<td>One</td>
<td>English</td>
</tr>
<tr>
<td>2</td>
<td>Joe</td>
<td>Sixpack</td>
<td>English</td>
</tr>
<tr>
<td>3</td>
<td>Stu</td>
<td>Dent</td>
<td>Code</td>
</tr>
</tbody>
</table>
<preclass="prettyprint linenums">
<table class="common-table">
...
</table></pre>
<h3>Example: Zebra-striped</h3>
<p>Get a little fancy with your tables by adding zebra-striping—just add the <code>.zebra-striped</code> class.</p>
<tableclass="zebra-striped">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Language</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Some</td>
<td>One</td>
<td>English</td>
</tr>
<tr>
<td>2</td>
<td>Joe</td>
<td>Sixpack</td>
<td>English</td>
</tr>
<tr>
<td>3</td>
<td>Stu</td>
<td>Dent</td>
<td>Code</td>
</tr>
</tbody>
</table>
<preclass="prettyprint linenums">
<table class="common-table zebra-striped">
...
</table></pre>
<h3>Example: Zebra-striped w/ TableSorter.js</h3>
<p>Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via <ahref="http://jquery.com">jQuery</a> and the <ahref="http://tablesorter.com/docs/">Tablesorter</a> plugin. <strong>Click any column's header to change the sort.</strong></p>
<p>All forms are given default styles to present them in a readable and scalable way. Styles are provided for text inputs, select lists, textareas, radio buttons and checkboxes, and buttons.</p>
<p>Add <code>.form-stacked</code> to your form's HTML and you'll have labels on top of their fields instead of to their left. This works great if your forms are short or you have two columns of inputs for heavier forms.</p>
<p>As a convention, buttons are used for actions while links are used for objects. For instance, "Download" could be a button and "recent activity" could be a link.</p>
<p>All buttons default to a light gray style, but a blue <code>.primary</code> class is available. Plus, rolling your own styles is easy peasy.</p>
</div>
<divclass="span12 columns">
<h3>Example buttons</h3>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you'll want to apply these to only <code>a</code>, <code>button</code>, and select <code>input</code> elements. Here's how it looks:</p>
<p>Fancy larger or smaller buttons? Have at it!</p>
<divclass="well">
<ahref="#"class="btn large primary">Primary action</a>
<ahref="#"class="btn large">Action</a>
</div>
<divclass="well"style="padding: 16px 19px;">
<ahref="#"class="btn small primary">Primary action</a>
<ahref="#"class="btn small">Action</a>
</div>
<h3>Disabled state</h3>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That's <code>.disabled</code> for links and <code>:disabled</code> for <code>button</code> elements.</p>
<h4>Links</h4>
<divclass="well">
<ahref="#"class="btn large primary disabled">Primary action</a>
<ahref="#"class="btn large disabled">Action</a>
</div>
<h4>Buttons</h4>
<divclass="well">
<buttonclass="btn large primary"disabled>Primary action</button>
<buttonclass="btn large"disabled>Action</button>
</div>
</div>
</div>
</section>
<sectionid="navigation">
<divclass="page-header">
<h1>Navigation</h1>
</div>
<h2>Fixed topbar</h2>
<divclass="topbar-wrapper"style="z-index: 5;">
<divclass="topbar">
<divclass="container fixed">
<h3><aclass="logo"href="">Project Name</a></h3>
<ul>
<liclass="active"><ahref="">Home</a></li>
<li><ahref="">Link</a></li>
<li><ahref="">Link</a></li>
<li><ahref="">Link</a></li>
</ul>
<formaction="">
<inputtype="text"placeholder="Search"/>
</form>
<ulclass="nav secondary-nav">
<liclass="menu">
<ahref="#"class="menu">Dropdown</a>
<ulclass="menu-dropdown">
<li><ahref="">Secondary link</a></li>
<li><ahref="">Something else here</a></li>
<liclass="divider"></li>
<li><ahref="">Another link</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div><!-- topbar-wrapper -->
<divclass="row">
<divclass="span5 columns">
<h4>What is it</h4>
<p>Our topbar is a fixed bar that houses a website's logo or name, primary navigation, and search form.</p>
</div>
<divclass="span5 columns">
<h4>Customizable</h4>
<p>All elements within, and the entire topbar as well, are optional. You can choose to include a logo/name, nav, search, and a secondary nav—or any combination of that.</p>
</div>
<divclass="span6 columns">
<h4>Dropdowns included</h4>
<p>As part of the main navigation, we've included the ability for you to add dropdowns to your nav. Check out the secondary nav above (right aligned) to see how it's done.</p>
</div>
</div>
<br/>
<divclass="row">
<divclass="span4 columns">
<h2>Tabs and pills</h2>
<p>Create simple secondary navigation with a <code>ul</code>. Swap between tabs or pills by adding the appropriate class.</p>
<p>Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.</p>
<p>Ultra simplistic and minimally styled pagination inspired by Rdio. The large block is hard to miss, easily scalable, and provides large click areas.</p>
<h1>Alerts & Errors <small>Styles for success, warning, and error messages or alerts</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Basic alerts</h2>
<p>One-line messages for highlighting the failure, possible failure, or success of an action. Particularly useful for forms.</p>
</div>
<divclass="span12 columns">
<divclass="alert-message error">
<aclass="close"href="#">×</a>
<p><strong>Oh snap!</strong> Change this and that and try again.</p>
</div>
<divclass="alert-message warning">
<aclass="close"href="#">×</a>
<p><strong>Holy gaucamole!</strong> Best check yo self, you're not looking too good.</p>
</div>
<divclass="alert-message success">
<aclass="close"href="#">×</a>
<p><strong>Well done!</strong> You successfully read this alert message.</p>
</div>
<divclass="alert-message info">
<aclass="close"href="#">×</a>
<p><strong>Heads up!</strong> This is an alert that needs your attention, but it's not a huge priority just yet.</p>
</div>
</div>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Block messages</h2>
<p>For messages that require a bit of explanation, we have paragraph style alerts. These are perfect for bubbling up longer error messages, warning a user of a pending action, or just presenting information for more emphasis on the page.</p>
</div>
<divclass="span12 columns">
<divclass="alert-message block-message error">
<aclass="close"href="#">×</a>
<p><strong>Oh snap! You got an error!</strong> Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
<p><aclass="btn small"href="#">Take this action</a><aclass="btn small"href="#">Or do this</a></p>
</div>
<divclass="alert-message block-message warning">
<aclass="close"href="#">×</a>
<p><strong>Holy gaucamole! This is a warning!</strong> 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>
<p><aclass="btn small"href="#">Take this action</a><aclass="btn small"href="#">Or do this</a></p>
</div>
<divclass="alert-message block-message success">
<aclass="close"href="#">×</a>
<p><strong>Well done!</strong> You successfully read this alert message. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas faucibus mollis interdum.</p>
<p><aclass="btn small"href="#">Take this action</a><aclass="btn small"href="#">Or do this</a></p>
</div>
<divclass="alert-message block-message info">
<aclass="close"href="#">×</a>
<p><strong>Heads up!</strong> This is an alert that needs your attention, but it's not a huge priority just yet.</p>
<p><aclass="btn small"href="#">Take this action</a><aclass="btn small"href="#">Or do this</a></p>
</div>
</div>
</div>
</section>
<sectionid="popovers">
<divclass="page-header">
<h1>Popovers <small>Components for displaying content in modals, tooltips, and popovers</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<h2>Modals</h2>
<p>Modals—dialogs or lightboxes—are great for contextual actions in situations where it's important that the background context be maintained.</p>
<p>Twipsies are super useful for aiding a confused user and pointing them in the right direction.</p>
</div>
<divclass="span12 columns">
<divclass="twipsies well">
<divstyle="position: relative">
<pclass="muted"style="margin-bottom: 0">
Lorem ipsum dolar sit amet illo error <ahref="#"title="below">ipsum</a> veritatis aut iste perspiciatis iste voluptas natus illo quasi odit aut natus consequuntur consequuntur, aut natus illo voluptatem odit perspiciatis laudantium rem doloremque totam voluptas. <ahref="#"title="right">Voluptasdicta</a> eaque beatae aperiam ut enim voluptatem explicabo explicabo, voluptas quia odit fugit accusantium totam totam architecto explicabo sit quasi fugit fugit, totam doloremque unde sunt <ahref="#"title="left">sed</a> dicta quae accusantium fugit voluptas nemo voluptas voluptatem <ahref="#"title="above">rem</a> quae aut veritatis quasi quae.
</p>
<divclass="twipsy below">
<divclass="twipsy-arrow"></div>
<divclass="twipsy-inner">below!</div>
</div>
<divclass="twipsy right">
<divclass="twipsy-arrow"></div>
<divclass="twipsy-inner">right!</div>
</div>
<divclass="twipsy left">
<divclass="twipsy-arrow"></div>
<divclass="twipsy-inner">left!</div>
</div>
<divclass="twipsy above">
<divclass="twipsy-arrow"></div>
<divclass="twipsy-inner">above!</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- /row -->
<divclass="row">
<divclass="span4 columns">
<h2>Popovers</h2>
<p>Use popovers to provide subtextual information to a page without effecting layout.</p>
</div>
<divclass="span12 columns">
<divclass="well popover-well">
<divclass="popover-wrapper">
<divclass="popover left">
<divclass="arrow"></div>
<divclass="inner">
<h3class="title">Popover Title</h3>
<divclass="content">
<p>Etiam porta sem malesuada magna mollis euismod. Maecenas faucibus mollis interdum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
</div>
</div>
</div>
<imgclass="large-bird"src="assets/img/bird.png">
</div>
</div>
</div>
</div><!-- /row -->
</section>
<sectionid="less">
<divclass="page-header">
<h1>Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<p>Bootstrap was built with <ahref="http://markdotto.com/bootstrap/">Preboot</a>, an open-source pack of mixins and variables to be used in conjunction with <ahref="http://lesscss.org"target="_blank">Less</a>, a CSS preprocessor for faster and easier web development.</p>
<p>Check out how we used Preboot in Bootstrap and how you can make use of it should you choose to run Less on your next project.</p>
</div>
<divclass="span12 columns">
<h2>How to use it</h2>
<p>Use this option to make full use of Bootstrap's Less variables, mixins, and nesting in CSS via javascript in your browser.</p>
<p>Not feeling the .js solution? <ahref="http://incident57.com/less"target="_blank">Try the Less Mac app</a> or <ahref="http://lesscss.org/#-client-side-usage"target="_blank">use Node.js</a> to compile when you deploy your code.</p>
<h2>What's included</h2>
<p>Here are some of the highlights of what's included in Twitter Bootstrap as part of Bootstrap. Head over to the Bootstrap website or Github project page to download and learn more.</p>
<h3>Color variables</h3>
<p>Variables in Less are perfect for maintaining and updating your CSS headache free. When you want to change a color value or a frequently used value, update it in one spot and you're set.</p>
<preclass="prettyprint linenums">
// Links
@linkColor: #8b59c2;
@linkColorHover: darken(@linkColor, 10);
// Grays
@black: #000;
@grayDark: lighten(@black, 25%);
@gray: lighten(@black, 50%);
@grayLight: lighten(@black, 70%);
@grayLighter: lighten(@black, 90%);
@white: #fff;
// Accent Colors
@blue: #08b5fb;
@green: #46a546;
@red: #9d261d;
@yellow: #ffc40d;
@orange: #f89406;
@pink: #c3325f;
@purple: #7a43b6;
// Baseline
@baseline: 20px;
</pre>
<h3>Commenting</h3>
<p>Less also provides another style of commenting in addition to CSS's normal <code>/* ... */</code> syntax.</p>
<preclass="prettyprint linenums">
// This is a comment
/* This is also a comment */
</pre>
<h3>Mixins up the wazoo</h3>
<p>Mixins are basically includes or partials for CSS, allowing you to combine a block of code into one. They're great for vendor prefixed properties like <code>box-shadow</code>, cross-browser gradients, font stacks, and more. Below is a sample of the mixins that are included with Bootstrap.</p>
Designed and built with all the love in the world <ahref="http://twitter.com/twitter"target="_blank">@twitter</a> by <ahref="http://twitter.com/mdo"target="_blank">@mdo</a> and <ahref="http://twitter.com/fat"target="_blank">@fat</a>.<br/>
Licensed under the <ahref="http://www.apache.org/licenses/LICENSE-2.0"target="_blank">Apache License v2.0</a>.