<p><strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.</p>
<p><strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.</p>
</td>
</td>
...
@@ -369,11 +369,11 @@
...
@@ -369,11 +369,11 @@
<p>Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.</p>
<p>Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.</p>
<preclass="prettyprint"><div>
<preclass="prettyprint"><div>
<h1>Heading</h1>
<h1>Heading</h1>
<p>Something right here...</p>
<p>Something right here…</p>
</div></pre>
</div></pre>
<preclass="prettyprint linenums"><div>
<preclass="prettyprint linenums"><div>
<h1>Heading</h1>
<h1>Heading</h1>
<p>Something right here...</p>
<p>Something right here…</p>
</div></pre>
</div></pre>
<p><ahref="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <ahref="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.</p>
<p><ahref="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <ahref="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.</p>
</td>
</td>
...
@@ -521,14 +521,14 @@
...
@@ -521,14 +521,14 @@
<table>
<table>
<thead>
<thead>
<tr>
<tr>
<th>...</th>
<th>…</th>
<th>...</th>
<th>…</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td>...</td>
<td>…</td>
<td>...</td>
<td>…</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -591,7 +591,7 @@
...
@@ -591,7 +591,7 @@
<p>Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the <code>.table</code> class is required.</p>
<p>Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the <code>.table</code> class is required.</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<table class="table">
<table class="table">
...
…
</table></pre>
</table></pre>
</div>
</div>
<divclass="span8">
<divclass="span8">
...
@@ -636,7 +636,7 @@
...
@@ -636,7 +636,7 @@
<pclass="muted"><strong>Note:</strong> Sprited tables use the <code>:nth-child</code> CSS selector and is not available in IE7-IE8.</p>
<pclass="muted"><strong>Note:</strong> Sprited tables use the <code>:nth-child</code> CSS selector and is not available in IE7-IE8.</p>
<p>Include the <ahref="http://jquery.com">jQuery</a><ahref="http://tablesorter.com/docs/">Tablesorter</a> plugin and automaically get clear styles for sorted columns.</p>
<p>Include the <ahref="http://jquery.com">jQuery</a><ahref="http://tablesorter.com/docs/">Tablesorter</a> plugin and automatically get clear styles for sorted columns.</p>
<pclass="lead">On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.</p>
<pclass="lead">{{_i}}On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.{{/i}}</p>
<h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
<h1>{{_i}}Typography <small>Headings, paragraphs, lists, and other inline type elements</small>{{/i}}</h1>
</div>
</div>
<h2>Headings & body copy</h2>
<h2>{{_i}}Headings & body copy{{/i}}</h2>
<!-- Headings & Paragraph Copy -->
<!-- Headings & Paragraph Copy -->
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Typographic scale</h3>
<h3>{{_i}}Typographic scale{{/i}}</h3>
<p>The entire typographic grid is based on two Less variables in our preboot.less file: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height.</p>
<p>{{_i}}The entire typographic grid is based on two Less variables in our preboot.less file: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height.{{/i}}</p>
<p>We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.</p>
<p>{{_i}}We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Example body text</h3>
<h3>{{_i}}Example body text{{/i}}</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>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>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.</p>
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<divclass="well">
<divclass="well">
<h1>h1. Heading 1</h1>
<h1>h1. {{_i}}Heading 1{{/i}}</h1>
<h2>h2. Heading 2</h2>
<h2>h2. {{_i}}Heading 2{{/i}}</h2>
<h3>h3. Heading 3</h3>
<h3>h3. {{_i}}Heading 3{{/i}}</h3>
<h4>h4. Heading 4</h4>
<h4>h4. {{_i}}Heading 4{{/i}}</h4>
<h5>h5. Heading 5</h5>
<h5>h5. {{_i}}Heading 5{{/i}}</h5>
<h6>h6. Heading 6</h6>
<h6>h6. {{_i}}Heading 6{{/i}}</h6>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Misc Elements -->
<!-- Misc Elements -->
<h2>Emphasis, address, and abbreviation</h2>
<h2>{{_i}}Emphasis, address, and abbreviation{{/i}}</h2>
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<th>Element</th>
<th>{{_i}}Element{{/i}}</th>
<th>Usage</th>
<th>{{_i}}Usage{{/i}}</th>
<th>Optional</th>
<th>{{_i}}Optional{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -62,10 +62,10 @@
...
@@ -62,10 +62,10 @@
<code><strong></code>
<code><strong></code>
</td>
</td>
<td>
<td>
For emphasizing a snippet of text with <strong>important</strong>
{{_i}}For emphasizing a snippet of text with <strong>important</strong>{{/i}}
</td>
</td>
<td>
<td>
<spanclass="muted">None</span>
<spanclass="muted">{{_i}}None{{/i}}</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -73,10 +73,10 @@
...
@@ -73,10 +73,10 @@
<code><em></code>
<code><em></code>
</td>
</td>
<td>
<td>
For emphasizing a snippet of text with <em>stress</em>
{{_i}}For emphasizing a snippet of text with <em>stress</em>{{/i}}
</td>
</td>
<td>
<td>
<spanclass="muted">None</span>
<spanclass="muted">{{_i}}None{{/i}}</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -84,10 +84,10 @@
...
@@ -84,10 +84,10 @@
<code><abbr></code>
<code><abbr></code>
</td>
</td>
<td>
<td>
Wraps abbreviations and acronyms to show the expanded version on hover
{{_i}}Wraps abbreviations and acronyms to show the expanded version on hover{{/i}}
</td>
</td>
<td>
<td>
Include optional <code>title</code> for expanded text
{{_i}}Include optional <code>title</code> for expanded text{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -95,10 +95,10 @@
...
@@ -95,10 +95,10 @@
<code><address></code>
<code><address></code>
</td>
</td>
<td>
<td>
For contact information for its nearest ancestor or the entire body of work
{{_i}}For contact information for its nearest ancestor or the entire body of work{{/i}}
</td>
</td>
<td>
<td>
Preserve formatting by ending all lines with <code><br></code>
{{_i}}Preserve formatting by ending all lines with <code><br></code>{{/i}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -106,13 +106,13 @@
...
@@ -106,13 +106,13 @@
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Using emphasis</h3>
<h3>{{_i}}Using emphasis{{/i}}</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>
<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>
<p><strong>Note:</strong> Feel free to use <code><b></code> and <code><i></code> in HTML5, but their usage has changed a bit. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
<p>{{_i}}<strong>Note:</strong> Feel free to use <code><b></code> and <code><i></code> in HTML5, but their usage has changed a bit. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Example addresses</h3>
<h3>{{_i}}Example addresses{{/i}}</h3>
<p>Here are two examples of how the <code><address></code> tag can be used:</p>
<p>{{_i}}Here are two examples of how the <code><address></code> tag can be used:{{/i}}</p>
<address>
<address>
<strong>Twitter, Inc.</strong><br>
<strong>Twitter, Inc.</strong><br>
795 Folsom Ave, Suite 600<br>
795 Folsom Ave, Suite 600<br>
...
@@ -120,27 +120,27 @@
...
@@ -120,27 +120,27 @@
<abbrtitle="Phone">P:</abbr> (123) 456-7890
<abbrtitle="Phone">P:</abbr> (123) 456-7890
</address>
</address>
<address>
<address>
<strong>Full Name</strong><br>
<strong>{{_i}}Full Name{{/i}}</strong><br>
<amailto="#">first.last@gmail.com</a>
<amailto="#">{{_i}}first.last@gmail.com{{/i}}</a>
</address>
</address>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Example abbreviations</h3>
<h3>{{_i}}Example abbreviations{{/i}}</h3>
<p>Abbreviations are styled with uppercase text and a light dotted bottom border. They also have a help cursor on hover so users have extra indication something will be shown on hover.</p>
<p>{{_i}}Abbreviations are styled with uppercase text and a light dotted bottom border. They also have a help cursor on hover so users have extra indication something will be shown on hover.{{/i}}</p>
<p><abbrtitle="HyperText Markup Language">HTML</abbr> is the best thing since sliced bread.</p>
<p>{{_i}}<abbrtitle="HyperText Markup Language">HTML</abbr> is the best thing since sliced bread.{{/i}}</p>
<p>An abbreviation of the word attribute is <abbrtitle="attribute">attr</abbr>.</p>
<p>{{_i}}An abbreviation of the word attribute is <abbrtitle="attribute">attr</abbr>.{{/i}}</p>
</div>
</div>
</div>
</div>
<!-- Blockquotes -->
<!-- Blockquotes -->
<h2>Blockquotes</h2>
<h2>{{_i}}Blockquotes{{/i}}</h2>
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<th>Element</th>
<th>{{_i}}Element{{/i}}</th>
<th>Usage</th>
<th>{{_i}}Usage{{/i}}</th>
<th>Optional</th>
<th>{{_i}}Optional{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -149,11 +149,11 @@
...
@@ -149,11 +149,11 @@
<code><blockquote></code>
<code><blockquote></code>
</td>
</td>
<td>
<td>
Block-level element for quoting content from another source
{{_i}}Block-level element for quoting content from another source{{/i}}
</td>
</td>
<td>
<td>
<p>Add <code>cite</code> attribute for source URL</p>
<p>{{_i}}Add <code>cite</code> attribute for source URL{{/i}}</p>
Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated options
{{_i}}Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated options{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -161,53 +161,53 @@
...
@@ -161,53 +161,53 @@
<code><small></code>
<code><small></code>
</td>
</td>
<td>
<td>
Optional element for adding a user-facing citation, typically an author with title of work
{{_i}}Optional element for adding a user-facing citation, typically an author with title of work{{/i}}
</td>
</td>
<td>
<td>
Place the <code><cite></code> around the title or name of source
{{_i}}Place the <code><cite></code> around the title or name of source{{/i}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<p>To include a blockquote, wrap <code><blockquote></code> around any <abbrtitle="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.</p>
<p>{{_i}}To include a blockquote, wrap <code><blockquote></code> around any <abbrtitle="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.{{/i}}</p>
<p>Include an optional <code><small></code> element to cite your source and you'll get an em dash <code>&mdash;</code> before it for styling purposes.</p>
<p>{{_i}}Include an optional <code><small></code> element to cite your source and you'll get an em dash <code>&mdash;</code> before it for styling purposes.{{/i}}</p>
</div>
</div>
<divclass="span8">
<divclass="span8">
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<blockquote>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<p>{{_i}}Default blockquotes are styled as such:{{/i}}</p>
<blockquote>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<small>Someone famous in <citetitle="">Body of work</cite></small>
<small>{{_i}}Someone famous in <citetitle="">Body of work</cite>{{/i}}</small>
</blockquote>
</blockquote>
</div>
</div>
<divclass="span6">
<divclass="span6">
<p>To float your blockquote to the right, add <code>class="pull-right"</code>:</p>
<p>{{_i}}To float your blockquote to the right, add <code>class="pull-right"</code>:{{/i}}</p>
<blockquoteclass="pull-right">
<blockquoteclass="pull-right">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<small>Someone famous in <citetitle="">Body of work</cite></small>
<small>{{_i}}Someone famous in <citetitle="">Body of work</cite>{{/i}}</small>
</blockquote>
</blockquote>
</div>
</div>
</div>
</div>
<!-- Lists -->
<!-- Lists -->
<h2>Lists</h2>
<h2>{{_i}}Lists{{/i}}</h2>
<divclass="row">
<divclass="row">
<divclass="span3">
<divclass="span3">
<h4>Unordered</h4>
<h4>{{_i}}Unordered{{/i}}</h4>
<p><code><ul></code></p>
<p><code><ul></code></p>
<ul>
<ul>
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
</ul>
</ul>
</div>
</div>
<divclass="span3">
<divclass="span3">
<h4>Unstyled</h4>
<h4>{{_i}}Unstyled{{/i}}</h4>
<p><code><ul class="unstyled"></code></p>
<p><code><ul class="unstyled"></code></p>
<ulclass="unstyled">
<ulclass="unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
</ul>
</ul>
</div>
</div>
<divclass="span3">
<divclass="span3">
<h4>Ordered</h4>
<h4>{{_i}}Ordered{{/i}}</h4>
<p><code><ol></code></p>
<p><code><ol></code></p>
<ol>
<ol>
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
...
@@ -263,11 +263,11 @@
...
@@ -263,11 +263,11 @@
</ol>
</ol>
</div>
</div>
<divclass="span3">
<divclass="span3">
<h4>Description</h4>
<h4>{{_i}}Description{{/i}}</h4>
<p><code><dl></code></p>
<p><code><dl></code></p>
<dl>
<dl>
<dt>Description lists</dt>
<dt>{{_i}}Description lists{{/i}}</dt>
<dd>A description list is perfect for defining terms.</dd>
<dd>{{_i}}A description list is perfect for defining terms.{{/i}}</dd>
<dt>Euismod</dt>
<dt>Euismod</dt>
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
<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>
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
...
@@ -280,95 +280,95 @@
...
@@ -280,95 +280,95 @@
<!-- Code -->
<!-- Code -->
<h2>Code <small>Inline and block</small></h2>
<h2>{{_i}}Code <small>Inline and block</small>{{/i}}</h2>
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<thstyle="width: 190px;">Element</th>
<thstyle="width: 190px;">{{_i}}Element{{/i}}</th>
<th>Result</th>
<th>{{_i}}Result{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td><code><code></code></td>
<td><code><code></code></td>
<td>In a line of text like this, your wrapped code will look like this <code><html></code> element.</td>
<td>{{_i}}In a line of text like this, your wrapped code will look like this <code><html></code> element.{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td><code><pre></code></td>
<td><code><pre></code></td>
<td>
<td>
<pre><div>
<pre><div>
<h1>Heading</h1>
<h1>{{_i}}Heading{{/i}}</h1>
<p>Something right here...</p>
<p>{{_i}}Something right here…{{/i}}</p>
</div></pre>
</div></pre>
<p><strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.</p>
<p>{{_i}}<strong>Note:</strong> Be sure to keep code within <code><pre></code> tags as close to the left as possible; it will render all tabs.{{/i}}</p>
<p>Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.</p>
<p>{{_i}}Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.{{/i}}</p>
<preclass="prettyprint"><div>
<preclass="prettyprint"><div>
<h1>Heading</h1>
<h1>{{_i}}Heading{{/i}}</h1>
<p>Something right here...</p>
<p>{{_i}}Something right here…{{/i}}</p>
</div></pre>
</div></pre>
<preclass="prettyprint linenums"><div>
<preclass="prettyprint linenums"><div>
<h1>Heading</h1>
<h1>{{_i}}Heading{{/i}}</h1>
<p>Something right here...</p>
<p>{{_i}}Something right here…{{/i}}</p>
</div></pre>
</div></pre>
<p><ahref="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <ahref="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.</p>
<p>{{_i}}<ahref="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <ahref="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.{{/i}}</p>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<!-- Labels -->
<!-- Labels -->
<h2>Inline labels <small>for special attention</small></h2>
<h2>{{_i}}Inline labels <small>for special attention</small>{{/i}}</h2>
<h1>Tables <small>For, you guessed it, tabular data</small></h1>
<h1>{{_i}}Tables <small>For, you guessed it, tabular data</small>{{/i}}</h1>
</div>
</div>
<h2>Table markup</h2>
<h2>{{_i}}Table markup{{/i}}</h2>
<divclass="row">
<divclass="row">
<divclass="span8">
<divclass="span8">
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<th>Tag</th>
<th>{{_i}}Tag{{/i}}</th>
<th>Description</th>
<th>{{_i}}Description{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -401,7 +401,7 @@
...
@@ -401,7 +401,7 @@
<code><table></code>
<code><table></code>
</td>
</td>
<td>
<td>
Wrapping element for displaying data in a tabular format
{{_i}}Wrapping element for displaying data in a tabular format{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -409,7 +409,7 @@
...
@@ -409,7 +409,7 @@
<code><thead></code>
<code><thead></code>
</td>
</td>
<td>
<td>
Container element for table header rows (<code><tr></code>) to label table columns
{{_i}}Container element for table header rows (<code><tr></code>) to label table columns{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -417,7 +417,7 @@
...
@@ -417,7 +417,7 @@
<code><tbody></code>
<code><tbody></code>
</td>
</td>
<td>
<td>
Container element for table rows (<code><tr></code>) in the body of the table
{{_i}}Container element for table rows (<code><tr></code>) in the body of the table{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -425,7 +425,7 @@
...
@@ -425,7 +425,7 @@
<code><tr></code>
<code><tr></code>
</td>
</td>
<td>
<td>
Container element for a set of table cells (<code><td></code> or <code><th></code>) that appears on a single row
{{_i}}Container element for a set of table cells (<code><td></code> or <code><th></code>) that appears on a single row{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -433,7 +433,7 @@
...
@@ -433,7 +433,7 @@
<code><td></code>
<code><td></code>
</td>
</td>
<td>
<td>
Default table cell
{{_i}}Default table cell{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -441,8 +441,8 @@
...
@@ -441,8 +441,8 @@
<code><th></code>
<code><th></code>
</td>
</td>
<td>
<td>
Special table cell for column (or row, depending on scope and placement) labels<br>
{{_i}}Special table cell for column (or row, depending on scope and placement) labels{{/i}}<br>
Must be used within a <code><thead></code>
{{_i}}Must be used within a <code><thead></code>{{/i}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -450,7 +450,7 @@
...
@@ -450,7 +450,7 @@
<code><caption></code>
<code><caption></code>
</td>
</td>
<td>
<td>
Description or summary of what the table holds, especially useful for screen readers
{{_i}}Description or summary of what the table holds, especially useful for screen readers{{/i}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -461,14 +461,14 @@
...
@@ -461,14 +461,14 @@
<table>
<table>
<thead>
<thead>
<tr>
<tr>
<th>...</th>
<th>…</th>
<th>...</th>
<th>…</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td>...</td>
<td>…</td>
<td>...</td>
<td>…</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -476,62 +476,62 @@
...
@@ -476,62 +476,62 @@
</div>
</div>
</div>
</div>
<h2>Table options</h2>
<h2>{{_i}}Table options{{/i}}</h2>
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<th>Name</th>
<th>{{_i}}Name{{/i}}</th>
<th>Class</th>
<th>{{_i}}Class{{/i}}</th>
<th>Description</th>
<th>{{_i}}Description{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td>Default</td>
<td>{{_i}}Default{{/i}}</td>
<tdclass="muted">None</td>
<tdclass="muted">{{_i}}None{{/i}}</td>
<td>No styles, just columns and rows</td>
<td>{{_i}}No styles, just columns and rows{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td>Basic</td>
<td>{{_i}}Basic{{/i}}</td>
<td>
<td>
<code>.table</code>
<code>.table</code>
</td>
</td>
<td>Only horizontal lines between rows</td>
<td>{{_i}}Only horizontal lines between rows{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td>Bordered</td>
<td>{{_i}}Bordered{{/i}}</td>
<td>
<td>
<code>.table-bordered</code>
<code>.table-bordered</code>
</td>
</td>
<td>Rounds corners and adds outter border</td>
<td>{{_i}}Rounds corners and adds outter border{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td>Zebra-stripe</td>
<td>{{_i}}Zebra-stripe{{/i}}</td>
<td>
<td>
<code>.table-striped</code>
<code>.table-striped</code>
</td>
</td>
<td>Adds light gray background color to odd rows (1, 3, 5, etc)</td>
<td>{{_i}}Adds light gray background color to odd rows (1, 3, 5, etc){{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td>Condensed</td>
<td>{{_i}}Condensed{{/i}}</td>
<td>
<td>
<code>.table-condensed</code>
<code>.table-condensed</code>
</td>
</td>
<td>Cuts vertical padding in half, from 8px to 4px, within all <code>td</code> and <code>th</code> elements</td>
<td>{{_i}}Cuts vertical padding in half, from 8px to 4px, within all <code>td</code> and <code>th</code> elements{{/i}}</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<h2>Example tables</h2>
<h2>{{_i}}Example tables{{/i}}</h2>
<h3>1. Default table styles</h3>
<h3>1. {{_i}}Default table styles{{/i}}</h3>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<p>Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the <code>.table</code> class is required.</p>
<p>{{_i}}Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the <code>.table</code> class is required.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<table class="table">
<table class="table">
...
…
</table></pre>
</table></pre>
</div>
</div>
<divclass="span8">
<divclass="span8">
...
@@ -539,9 +539,9 @@
...
@@ -539,9 +539,9 @@
<thead>
<thead>
<tr>
<tr>
<th>#</th>
<th>#</th>
<th>First Name</th>
<th>{{_i}}First Name{{/i}}</th>
<th>Last Name</th>
<th>{{_i}}Last Name{{/i}}</th>
<th>Language</th>
<th>{{_i}}Language{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -569,14 +569,14 @@
...
@@ -569,14 +569,14 @@
</div>
</div>
<h3>2. Striped table</h3>
<h3>2. {{_i}}Striped table{{/i}}</h3>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<p>Get a little fancy with your tables by adding zebra-striping—just add the <code>.table-striped</code> class.</p>
<p>{{_i}}Get a little fancy with your tables by adding zebra-striping—just add the <code>.table-striped</code> class.{{/i}}</p>
<pclass="muted"><strong>Note:</strong> Sprited tables use the <code>:nth-child</code> CSS selector and is not available in IE7-IE8.</p>
<pclass="muted">{{_i}}<strong>Note:</strong> Sprited tables use the <code>:nth-child</code> CSS selector and is not available in IE7-IE8.{{/i}}</p>
<p>Add borders around the entire table and rounded corners for aesthetic purposes.</p>
<p>{{_i}}Add borders around the entire table and rounded corners for aesthetic purposes.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<table class="table table-bordered">
<table class="table table-bordered">
...
…
</table></pre>
</table></pre>
</div>
</div>
<divclass="span8">
<divclass="span8">
...
@@ -628,9 +628,9 @@
...
@@ -628,9 +628,9 @@
<thead>
<thead>
<tr>
<tr>
<th>#</th>
<th>#</th>
<th>First Name</th>
<th>{{_i}}First Name{{/i}}</th>
<th>Last Name</th>
<th>{{_i}}Last Name{{/i}}</th>
<th>Language</th>
<th>{{_i}}Language{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -662,13 +662,13 @@
...
@@ -662,13 +662,13 @@
</div>
</div>
<h3>4. Condensed table</h3>
<h3>4. {{_i}}Condensed table{{/i}}</h3>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<p>Make your tables more compact by adding the <code>.table-condensed</code> class to cut table cell padding in half (from 10px to 5px).</p>
<p>{{_i}}Make your tables more compact by adding the <code>.table-condensed</code> class to cut table cell padding in half (from 8px to 4px).{{/i}}</p>
<p>Include the <ahref="http://jquery.com">jQuery</a><ahref="http://tablesorter.com/docs/">Tablesorter</a> plugin and automaically get clear styles for sorted columns.</p>
<p>{{_i}}Include the <ahref="http://jquery.com">jQuery</a><ahref="http://tablesorter.com/docs/">Tablesorter</a> plugin and automatically get clear styles for sorted columns.{{/i}}</p>
<p>The best part about forms in Bootstrap is that all your inputs and controls look great no matter how you build them in your markup. No superfluous HTML is required, but we provide the patterns for those who require it.</p>
<p>{{_i}}The best part about forms in Bootstrap is that all your inputs and controls look great no matter how you build them in your markup. No superfluous HTML is required, but we provide the patterns for those who require it.{{/i}}</p>
<p>More complicated layouts come with succinct and scalable classes for easy styling and event binding, so you're covered at every step.</p>
<p>{{_i}}More complicated layouts come with succinct and scalable classes for easy styling and event binding, so you're covered at every step.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h2>Four layouts included</h2>
<h2>{{_i}}Four layouts included{{/i}}</h2>
<p>Bootstrap comes with support for four types of form layouts:</p>
<p>{{_i}}Bootstrap comes with support for four types of form layouts:{{/i}}</p>
<ul>
<ul>
<li>Vertical (default)</li>
<li>{{_i}}Vertical (default){{/i}}</li>
<li>Search</li>
<li>{{_i}}Search{{/i}}</li>
<li>Inline</li>
<li>{{_i}}Inline{{/i}}</li>
<li>Horizontal</li>
<li>{{_i}}Horizontal{{/i}}</li>
</ul>
</ul>
<p>Different types of form layouts require some changes to markup, but the controls themselves remain and behave the same.</p>
<p>{{_i}}Different types of form layouts require some changes to markup, but the controls themselves remain and behave the same.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h2>Control states and more</h2>
<h2>{{_i}}Control states and more{{/i}}</h2>
<p>Bootstrap's forms include styles for all the base form controls like input, textarea, and select you'd expect. But it also comes with a number of custom components like appended and prepended inputs and support for lists of checkboxes.</p>
<p>{{_i}}Bootstrap's forms include styles for all the base form controls like input, textarea, and select you'd expect. But it also comes with a number of custom components like appended and prepended inputs and support for lists of checkboxes.{{/i}}</p>
<p>States like error, warning, and success are included for each type of form control. Also included are styles for disabled controls.</p>
<p>{{_i}}States like error, warning, and success are included for each type of form control. Also included are styles for disabled controls.{{/i}}</p>
</div>
</div>
</div>
</div>
<h2>Four types of forms</h2>
<h2>{{_i}}Four types of forms{{/i}}</h2>
<p>Bootstrap provides simple markup and styles for four styles of common web forms.</p>
<p>{{_i}}Bootstrap provides simple markup and styles for four styles of common web forms.{{/i}}</p>
<p>Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.</p>
<p>{{_i}}Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.{{/i}}</p>
<p>Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.</p>
<p>{{_i}}Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.{{/i}}</p>
<hr>
<hr>
<h3>Form validation</h3>
<h3>{{_i}}Form validation{{/i}}</h3>
<p>It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.</p>
<p>{{_i}}It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<fieldset
<fieldset
class="control-group error">
class="control-group error">
...
…
</fieldset>
</fieldset>
</pre>
</pre>
</div>
</div>
...
@@ -1064,38 +1064,38 @@
...
@@ -1064,38 +1064,38 @@
<divclass="row">
<divclass="row">
<divclass="span8">
<divclass="span8">
<formclass="form-horizontal">
<formclass="form-horizontal">
<legend>Extending form controls</legend>
<legend>{{_i}}Extending form controls{{/i}}</legend>
<p>Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.</p>
<p>{{_i}}Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.{{/i}}</p>
<hr>
<hr>
<h3>Checkboxes and radios</h3>
<h3>{{_i}}Checkboxes and radios{{/i}}</h3>
<p>Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.</p>
<p>{{_i}}Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.{{/i}}</p>
<p>Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.</p>
<p>{{_i}}Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.{{/i}}</p>
<td>Indicates a dangerous or potentially negative action</td>
<td>{{_i}}Indicates a dangerous or potentially negative action{{/i}}</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Buttons for actions</h3>
<h3>{{_i}}Buttons for actions{{/i}}</h3>
<p>As a convention, buttons should only be used for actions while hyperlinks are to be used for objects. For instance, "Download" should be a button while "recent activity" should be a link.</p>
<p>{{_i}}As a convention, buttons should only be used for actions while hyperlinks are to be used for objects. For instance, "Download" should be a button while "recent activity" should be a link.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>For anchors and forms</h3>
<h3>{{_i}}For anchors and forms{{/i}}</h3>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. However, typically you’ll want to apply these to only <code><a></code> and <code><button></code> elements.</p>
<p>{{_i}}Button styles can be applied to anything with the <code>.btn</code> applied. However, typically you’ll want to apply these to only <code><a></code> and <code><button></code> elements.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<p><strong>Note:</strong> All buttons must include the <code>.btn</code> class. Button styles should be applied to <code><button></code> and <code><a></code> elements for consistency.</p>
<p>{{_i}}<strong>Note:</strong> All buttons must include the <code>.btn</code> class. Button styles should be applied to <code><button></code> and <code><a></code> elements for consistency.{{/i}}</p>
</div>
</div>
</div>
</div>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Multiple sizes</h3>
<h3>{{_i}}Multiple sizes{{/i}}</h3>
<p>Fancy larger or smaller buttons? Have at it!</p>
<p>{{_i}}Fancy larger or smaller buttons? Have at it!{{/i}}</p>
<p>
<p>
<ahref="#"class="btn large primary">Primary action</a>
<ahref="#"class="btn large primary">{{_i}}Primary action{{/i}}</a>
<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>
<p>{{_i}}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.{{/i}}</p>
<p>
<p>
<ahref="#"class="btn large primary disabled">Primary action</a>
<ahref="#"class="btn large primary disabled">{{_i}}Primary action{{/i}}</a>
<ahref="#"class="btn large disabled">Action</a>
<ahref="#"class="btn large disabled">{{_i}}Action{{/i}}</a>
</p>
</p>
<p>
<p>
<buttonclass="btn large primary disabled"disabled="disabled">Primary action</button> <buttonclass="btn large"disabled>Action</button>
<buttonclass="btn large primary disabled"disabled="disabled">{{_i}}Primary action{{/i}}</button>
<h1>Icons <small>Graciously provided by <ahref="http://glyphicons.com"target="_blank">Glyphicons</a></small></h1>
<h1>{{_i}}Icons <small>Graciously provided by <ahref="http://glyphicons.com"target="_blank">Glyphicons</a></small>{{/i}}</h1>
</div>
</div>
<divclass="row">
<divclass="row">
<divclass="span2">
<divclass="span2">
...
@@ -1365,7 +1366,7 @@
...
@@ -1365,7 +1366,7 @@
</div>
</div>
</div>
</div>
<divclass="span2">
<divclass="span2">
<pclass="muted">Light red background color is only used to show the dimensions of the icons in the docs.</p>
<pclass="muted">{{_i}}Light red background color is only used to show the dimensions of the icons in the docs.{{/i}}</p>
</div>
</div>
</div>
</div>
...
@@ -1373,38 +1374,38 @@
...
@@ -1373,38 +1374,38 @@
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Built as a sprite</h3>
<h3>{{_i}}Built as a sprite{{/i}}</h3>
<p>Instead of making every icon an extra request, we've compiled them into a sprite—a bunch of images in one file that uses CSS to position the images with <code>background-position</code>. This is the same method we use on Twitter.com and it has worked well for us.</p>
<p>{{_i}}Instead of making every icon an extra request, we've compiled them into a sprite—a bunch of images in one file that uses CSS to position the images with <code>background-position</code>. This is the same method we use on Twitter.com and it has worked well for us.{{/i}}</p>
<p><ahref="http://glyphicons.com"target="_blank">Glyphicons</a> has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit. Please consider doing the same in your projects.</p>
<p>{{_i}}<ahref="http://glyphicons.com"target="_blank">Glyphicons</a> has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit. Please consider doing the same in your projects.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>How to use</h3>
<h3>{{_i}}How to use{{/i}}</h3>
<p>With v2.0.0, the <code><i></code> tag is essentially dedicated to iconography. To use the icons, you can place the follow code wherever you like one to appear:</p>
<p>{{_i}}With v2.0.0, the <code><i></code> tag is essentially dedicated to iconography. To use the icons, you can place the follow code wherever you like one to appear:{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<i class="chevron-left"></i>
<i class="chevron-left"></i>
</pre>
</pre>
<p>There are over 100 classes to choose from for your icons. Just add an <code><i></code> tag with the right class and you're set. You can find the full list in sprites.less or right here in this document.</p>
<p>{{_i}}There are over 100 classes to choose from for your icons. Just add an <code><i></code> tag with the right class and you're set. You can find the full list in sprites.less or right here in this document.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Use cases</h3>
<h3>{{_i}}Use cases{{/i}}</h3>
<p>Icons are great, but where would one use them? Here are a few ideas:</p>
<p>{{_i}}Icons are great, but where would one use them? Here are a few ideas:{{/i}}</p>
<ul>
<ul>
<li>As visuals for your sidebar navigation</li>
<li>{{_i}}As visuals for your sidebar navigation{{/i}}</li>
<li>For a purely icon-driven nav</li>
<li>{{_i}}For a purely icon-driven nav{{/i}}</li>
<li>For buttons to help convey the meaning of an action</li>
<li>{{_i}}For buttons to help convey the meaning of an action{{/i}}</li>
<li>With links to share context on a user's destination</li>
<li>{{_i}}With links to share context on a user's destination{{/i}}</li>
</ul>
</ul>
<p>Essentially, anywhere you can put an <code><i></code> tag, you can put an icon.</p>
<p>{{_i}}Essentially, anywhere you can put an <code><i></code> tag, you can put an icon.{{/i}}</p>
</div>
</div>
</div>
</div>
<h3>Examples</h3>
<h3>{{_i}}Examples{{/i}}</h3>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<p>Use them in buttons, or in button groups for a toolbar style presentation.</p>
<p>{{_i}}Use them in buttons, or in button groups for a toolbar style presentation.{{/i}}</p>
<pclass="lead">Bootstrap is a responsive frontend toolkit from Twitter designed to kickstart web development, featuring HTML, CSS, and JS for dozens of base elements and common design components.</p>
<pclass="lead">{{_i}}Bootstrap is a responsive frontend toolkit from Twitter designed to kickstart web development, featuring HTML, CSS, and JS for dozens of base elements and common design components.{{/i}}</p>
<pclass="download-info">
<pclass="download-info">
<ahref="https://github.com/twitter/bootstrap/"class="btn primary btn-large">Download on GitHub</a>
<ahref="https://github.com/twitter/bootstrap/"class="btn primary btn-large">{{_i}}Download on GitHub{{/i}}</a>
<ahref="./scaffolding.html"class="btn btn-large">Get started →</a>
<ahref="./scaffolding.html"class="btn btn-large">{{_i}}Get started →{{/i}}</a>
</p>
</p>
<divclass="benefits">
<divclass="benefits">
<h4>Feature highlights</h4>
<h4>{{_i}}Feature highlights{{/i}}</h4>
<ul>
<ul>
<li><span>✔</span> Built on LESS</li>
<li>{{_i}}<span>✔</span> Built on LESS{{/i}}</li>
<pclass="marketing-byline">For even more sites built with Bootstrap, <ahref="http://builtwithbootstrap.tumblr.com/"target="_blank">visit the unofficial Tumblr</a>.</p>
<pclass="marketing-byline">{{_i}}For even more sites built with Bootstrap, <ahref="http://builtwithbootstrap.tumblr.com/"target="_blank">visit the unofficial Tumblr</a>.{{/i}}</p>
<p>Like you, we love building awesome products on the web. We love it so much, we decided to help people just like us do it easier, better, and faster. Bootstrap is built for you.</p>
<p>{{_i}}Like you, we love building awesome products on the web. We love it so much, we decided to help people just like us do it easier, better, and faster. Bootstrap is built for you.{{/i}}</p>
<p>Bootstrap is designed to help people of all skill level—designer or developer, huge nerd or early beginner. Use it as a complete kit or use to start something more complex.</p>
<p>{{_i}}Bootstrap is designed to help people of all skill level—designer or developer, huge nerd or early beginner. Use it as a complete kit or use to start something more complex.{{/i}}</p>
<p>Originally built with only modern browsers in mind, Bootstrap has evolved to include support for all major browsers (even IE7!) and, with Bootstrap 2, tablets and smartphones, too.</p>
<p>{{_i}}Originally built with only modern browsers in mind, Bootstrap has evolved to include support for all major browsers (even IE7!) and, with Bootstrap 2, tablets and smartphones, too.{{/i}}</p>
<p>Grid systems aren't everything, but having a durable and flexible one at the core of your work can make development much simpler. Use our built-in grid classes or roll your own.</p>
<p>{{_i}}Grid systems aren't everything, but having a durable and flexible one at the core of your work can make development much simpler. Use our built-in grid classes or roll your own.{{/i}}</p>
<p>With Bootstrap 2, we've gone fully responsive. Our components are scaled according to a range of resolutions and devices to provide a consistent experience, no matter what.</p>
<p>{{_i}}With Bootstrap 2, we've gone fully responsive. Our components are scaled according to a range of resolutions and devices to provide a consistent experience, no matter what.{{/i}}</p>
<p>Unlike other front-end toolkits, Bootstrap was designed first and foremost as a styleguide to document not only our features, but best practices and living, coded examples.</p>
<p>{{_i}}Unlike other front-end toolkits, Bootstrap was designed first and foremost as a styleguide to document not only our features, but best practices and living, coded examples.{{/i}}</p>
<p>Despite being only 7kb (gzipped), Bootstrap is one of the most complete front-end toolkits out there with dozens of fully functional components ready to be put to use.</p>
<p>{{_i}}Despite being only 7kb (gzipped), Bootstrap is one of the most complete front-end toolkits out there with dozens of fully functional components ready to be put to use.{{/i}}</p>
<p>What good is an awesome design component without easy-to-use, proper, and extensible interactions? With Bootstrap, you get custom-built jQuery plugins to bring your projects to life.</p>
<p>{{_i}}What good is an awesome design component without easy-to-use, proper, and extensible interactions? With Bootstrap, you get custom-built jQuery plugins to bring your projects to life.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<imgclass="icon"src="assets/img/less-small.png">
<imgclass="icon"src="assets/img/less-small.png">
<h2>Built on LESS</h2>
<h2>{{_i}}Built on LESS{{/i}}</h2>
<p>Where vanilla CSS falters, LESS excels. Variables, nesting, operations, and mixins in LESS makes coding CSS faster and more efficient with minimal overhead.</p>
<p>{{_i}}Where vanilla CSS falters, LESS excels. Variables, nesting, operations, and mixins in LESS makes coding CSS faster and more efficient with minimal overhead.{{/i}}</p>
<pclass="lead">Customize and extend Bootstrap with <ahref="http://lesscss.org"target="_blank">LESS</a>, a CSS preprocessor, to take advantage of the variables, mixins, and more used to build Bootstrap's CSS.</p>
<pclass="lead">{{_i}}Customize and extend Bootstrap with <ahref="http://lesscss.org"target="_blank">LESS</a>, a CSS preprocessor, to take advantage of the variables, mixins, and more used to build Bootstrap's CSS.{{/i}}</p>
<p>Bootstrap is made with LESS at it's core, a dynamic stylesheet language created by <ahref="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.</p>
<p>{{_i}}Bootstrap is made with LESS at it's core, a dynamic stylesheet language created by <ahref="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>What's included?</h3>
<h3>{{_i}}What's included?{{/i}}</h3>
<p>As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.</p>
<p>{{_i}}As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.{{/i}}</p>
<p>Visit the official website at <ahref="http://lesscss.org">http://lesscss.org</a> to learn more.</p>
<p>{{_i}}Visit the official website at <ahref="http://lesscss.org">http://lesscss.org</a> to learn more.{{/i}}</p>
</div>
</div>
</div>
</div>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Variables</h3>
<h3>{{_i}}Variables{{/i}}</h3>
<p>Managing colors and pixel values in CSS can be a bit of a pain, usually full of copy and paste. Not with LESS though—assign colors or pixel values as variables and change them once.</p>
<p>{{_i}}Managing colors and pixel values in CSS can be a bit of a pain, usually full of copy and paste. Not with LESS though—assign colors or pixel values as variables and change them once.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Mixins</h3>
<h3>{{_i}}Mixins{{/i}}</h3>
<p>Those three border-radius declarations you need to make in regular ol' CSS? Now they're down to one line with the help of mixins, snippets of code you can reuse anywhere.</p>
<p>{{_i}}Those three border-radius declarations you need to make in regular ol' CSS? Now they're down to one line with the help of mixins, snippets of code you can reuse anywhere.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Operations</h3>
<h3>{{_i}}Operations{{/i}}</h3>
<p>Make your grid, leading, and more super flexible by doing the math on the fly with operations. Multiple, divide, add, and subtract your way to CSS sanity.</p>
<p>{{_i}}Make your grid, leading, and more super flexible by doing the math on the fly with operations. Multiple, divide, add, and subtract your way to CSS sanity.{{/i}}</p>
<h1>Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small></h1>
<h1>{{_i}}Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small>{{/i}}</h1>
</div>
</div>
<divclass="row">
<divclass="row">
<divclass="span3">
<divclass="span3">
<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>{{_i}}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.{{/i}}</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>
<p>{{_i}}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.{{/i}}</p>
</div>
</div>
<divclass="span9">
<divclass="span9">
<h2>How to use it</h2>
<h2>{{_i}}How to use it{{/i}}</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>{{_i}}Use this option to make full use of Bootstrap’s Less variables, mixins, and nesting in CSS via javascript in your browser.{{/i}}</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>
<p>{{_i}}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.{{/i}}</p>
<h2>What’s included</h2>
<h2>{{_i}}What’s included{{/i}}</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>
<p>{{_i}}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.{{/i}}</p>
<h3>Variables</h3>
<h3>{{_i}}Variables{{/i}}</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>
<p>{{_i}}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.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
// Links
// Links
@linkColor: #8b59c2;
@linkColor: #8b59c2;
...
@@ -281,16 +281,16 @@
...
@@ -281,16 +281,16 @@
@baseline: 18px;
@baseline: 18px;
</pre>
</pre>
<h3>Commenting</h3>
<h3>{{_i}}Commenting{{/i}}</h3>
<p>Less also provides another style of commenting in addition to CSS’s normal <code>/* ... */</code> syntax.</p>
<p>{{_i}}Less also provides another style of commenting in addition to CSS’s normal <code>/* ... */</code> syntax.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
// This is a comment
// This is a comment
/* This is also a comment */
/* This is also a comment */
</pre>
</pre>
<h3>Mixins up the wazoo</h3>
<h3>{{_i}}Mixins up the wazoo{{/i}}</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>
<p>{{_i}}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.{{/i}}</p>
<p>Get fancy and perform some math to generate flexible and powerful mixins like the one below.</p>
<p>{{_i}}Get fancy and perform some math to generate flexible and powerful mixins like the one below.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
// Griditude
// Griditude
@gridColumns: 16;
@gridColumns: 16;
...
@@ -341,62 +341,62 @@
...
@@ -341,62 +341,62 @@
}
}
</pre>
</pre>
<h2id="compiling">Compiling Less</h2>
<h2id="compiling">{{_i}}Compiling Less{{/i}}</h2>
<p>After modifying the <code>.less</code> files in /lib/, you'll need to recompile them in order to regenerate the bootstrap-*.*.*.css and bootstrap-*.*.*.min.css files. If you're submitting a pull request to GitHub, you must always recompile.</p>
<p>{{_i}}After modifying the <code>.less</code> files in /lib/, you'll need to recompile them in order to regenerate the bootstrap-*.*.*.css and bootstrap-*.*.*.min.css files. If you're submitting a pull request to GitHub, you must always recompile.{{/i}}</p>
<h3>Ways to compile</h3>
<h3>{{_i}}Ways to compile{{/i}}</h3>
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<thstyle="width: 120px;">Method</th>
<thstyle="width: 120px;">{{_i}}Method{{/i}}</th>
<th>Steps</th>
<th>{{_i}}Steps{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td>Node with makefile</td>
<td>{{_i}}Node with makefile{{/i}}</td>
<td>
<td>
<p>Install the LESS command line compiler with npm by running the following command:</p>
<p>{{_i}}Install the LESS command line compiler with npm by running the following command:{{/i}}</p>
<pre>$ npm install less</pre>
<pre>$ npm install less</pre>
<p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
<p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
<p>Additionally, if you have <ahref="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
<p>{{_i}}Additionally, if you have <ahref="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
</td>
</td>
</tr>
</tr>
<td>Javascript</td>
<td>{{_i}}Javascript{{/i}}</td>
<td>
<td>
<p><ahref="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.</p>
<p>{{_i}}<ahref="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.{{/i}}</p>
<p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
<p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td><ahref="http://incident57.com/less/"target="_blank">Unofficial Mac app</a></td>
<td><ahref="http://incident57.com/less/"target="_blank">{{_i}}Unofficial Mac app{{/i}}</a></td>
<td>
<td>
<p><ahref="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.</p>
<p>{{_i}}<ahref="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.{{/i}}</p>
<p>If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.</p>
<p>{{_i}}If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p>
<td>Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <ahref="https://github.com/Paratron/SimpLESS"target="_blank">source code is on GitHub</a>.</td>
<td>{{_i}}Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <ahref="https://github.com/Paratron/SimpLESS"target="_blank">source code is on GitHub</a>.{{/i}}</td>
<pclass="lead">Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.</p>
<pclass="lead">{{_i}}Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.{{/i}}</p>
<h1>Grid system <small>12 columns with a responsive twist</small></h1>
<h1>{{_i}}Grid system <small>12 columns with a responsive twist</small>{{/i}}</h1>
</div>
</div>
<h2>Default 940px grid</h2>
<h2>Default 940px grid</h2>
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<p>The default grid system provided as part of Bootstrap is a <strong>940px-wide, 12-column grid</strong>.</p>
<p>{{_i}}The default grid system provided as part of Bootstrap is a <strong>940px-wide, 12-column grid</strong>.{{/i}}</p>
<p>It also has three responsive variations for various devices and resolutions: phone, tablet, and large widescreen desktops.</p>
<p>{{_i}}It also has three responsive variations for various devices and resolutions: phone, tablet, and large widescreen desktops.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</pre>
</pre>
</div>
</div>
<divclass="span4">
<divclass="span4">
<p>As shown here, a basic layout can be created with two "columns," each spanning a number of the 12 foundational columns we defined as part of our grid system.</p>
<p>{{_i}}As shown here, a basic layout can be created with two "columns," each spanning a number of the 12 foundational columns we defined as part of our grid system.{{/i}}</p>
</div>
</div>
</div><!-- /row -->
</div><!-- /row -->
...
@@ -84,20 +84,20 @@
...
@@ -84,20 +84,20 @@
<br>
<br>
<h2>Nesting columns</h2>
<h2>{{_i}}Nesting columns{{/i}}</h2>
<divclass="row">
<divclass="row">
<divclass="span6">
<divclass="span6">
<p>With the static (non-fluid) grid system in Bootstrap, nesting is easy. To nest your content, just add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column.</p>
<p>{{_i}}With the static (non-fluid) grid system in Bootstrap, nesting is easy. To nest your content, just add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column.{{/i}}</p>
<td>{{_i}}Negative space between columns{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td><code>@siteWidth</code></td>
<td><code>@siteWidth</code></td>
<td><em>Computed sum of all columns and gutters</em></td>
<td><em>{{_i}}Computed sum of all columns and gutters{{/i}}</em></td>
<td>Counts number of columns and gutters to set width of the <code>.fixed-container()</code> mixin</td>
<td>{{_i}}Counts number of columns and gutters to set width of the <code>.fixed-container()</code> mixin{{/i}}</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<divclass="row">
<divclass="row">
<divclass="span4">
<divclass="span4">
<h3>Variables in LESS</h3>
<h3>{{_i}}Variables in LESS{{/i}}</h3>
<p>Built into Bootstrap are a handful of variables for customizing the default 940px grid system, documented above. All variables for the grid are stored in variables.less.</p>
<p>{{_i}}Built into Bootstrap are a handful of variables for customizing the default 940px grid system, documented above. All variables for the grid are stored in variables.less.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>How to customize</h3>
<h3>{{_i}}How to customize{{/i}}</h3>
<p>Modifying the grid means changing the three <code>@grid*</code> variables and recompiling Bootstrap. Change the grids in the preboot.less file and use one of the <ahref="#compiling">four ways documented to recompile</a>.</p>
<p>{{_i}}Modifying the grid means changing the three <code>@grid*</code> variables and recompiling Bootstrap. Change the grids in the preboot.less file and use one of the <ahref="#compiling">four ways documented to recompile</a>.{{/i}}</p>
</div>
</div>
<divclass="span4">
<divclass="span4">
<h3>Staying responsive</h3>
<h3>{{_i}}Staying responsive{{/i}}</h3>
<p>Customization of the grid only works at the default level, the 940px grid. To maintain the responsive aspects of Bootstrap, you'll also have to customize the grids in responsive.less.</p>
<p>{{_i}}Customization of the grid only works at the default level, the 940px grid. To maintain the responsive aspects of Bootstrap, you'll also have to customize the grids in responsive.less.{{/i}}</p>
<h1>Layouts <small>Basic templates to create webpages</small></h1>
<h1>{{_i}}Layouts <small>Basic templates to create webpages</small>{{/i}}</h1>
</div>
</div>
<divclass="row">
<divclass="row">
<divclass="span6">
<divclass="span6">
<h2>Fixed layout</h2>
<h2>{{_i}}Fixed layout{{/i}}</h2>
<p>The default and simple 940px-wide, centered layout for just about any website or page provided by a single <code><div class="container"></code>.</p>
<p>{{_i}}The default and simple 940px-wide, centered layout for just about any website or page provided by a single <code><div class="container"></code>.{{/i}}</p>
<divclass="mini-layout">
<divclass="mini-layout">
<divclass="mini-layout-body"></div>
<divclass="mini-layout-body"></div>
</div>
</div>
...
@@ -192,8 +192,8 @@
...
@@ -192,8 +192,8 @@
</pre>
</pre>
</div><!-- /col -->
</div><!-- /col -->
<divclass="span6">
<divclass="span6">
<h2>Fluid layout</h2>
<h2>{{_i}}Fluid layout{{/i}}</h2>
<p><code><div class="fluid-container"></code> gives flexible page structure, min- and max-widths, and a left-hand sidebar. It's great for apps and docs.</p>
<p>{{_i}}<code><div class="fluid-container"></code> gives flexible page structure, min- and max-widths, and a left-hand sidebar. It's great for apps and docs.{{/i}}</p>
<p>Bootstrap supports a handful of media queries to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:</p>
<p>{{_i}}Bootstrap supports a handful of media queries to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:{{/i}}</p>
<tableclass="table table-bordered table-striped">
<tableclass="table table-bordered table-striped">
<thead>
<thead>
<tr>
<tr>
<th>Label</th>
<th>{{_i}}Label{{/i}}</th>
<th>Layout width</th>
<th>{{_i}}Layout width{{/i}}</th>
<th>Column width</th>
<th>{{_i}}Column width{{/i}}</th>
<th>Gutter width</th>
<th>{{_i}}Gutter width{{/i}}</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
<td>Smartphones</td>
<td>{{_i}}Smartphones{{/i}}</td>
<td>480px and below</td>
<td>480px and below</td>
<tdclass="muted"colspan="2">Fluid columns, no fixed widths</td>
<tdclass="muted"colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td>Portrait tablets</td>
<td>{{_i}}Portrait tablets{{/i}}</td>
<td>480px to 768px</td>
<td>480px to 768px</td>
<tdclass="muted"colspan="2">Fluid columns, no fixed widths</td>
<tdclass="muted"colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
</tr>
</tr>
<tr>
<tr>
<td>Landscape tablets</td>
<td>{{_i}}Landscape tablets{{/i}}</td>
<td>768px to 940px</td>
<td>768px to 940px</td>
<td>44px</td>
<td>44px</td>
<td>20px</td>
<td>20px</td>
</tr>
</tr>
<tr>
<tr>
<td>Default</td>
<td>{{_i}}Default{{/i}}</td>
<td>940px and up</td>
<td>940px and up</td>
<td>60px</td>
<td>60px</td>
<td>20px</td>
<td>20px</td>
</tr>
</tr>
<tr>
<tr>
<td>Large display</td>
<td>{{_i}}Large display{{/i}}</td>
<td>1210px and up</td>
<td>1210px and up</td>
<td>70px</td>
<td>70px</td>
<td>30px</td>
<td>30px</td>
...
@@ -272,12 +272,12 @@
...
@@ -272,12 +272,12 @@
</tbody>
</tbody>
</table>
</table>
<h3>What they do</h3>
<h3>{{_i}}What they do{{/i}}</h3>
<p>Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around <code>min-width</code> and <code>max-width</code>.</p>
<p>{{_i}}Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around <code>min-width</code> and <code>max-width</code>.{{/i}}</p>
<ul>
<ul>
<li>Modify the width of column in our grid</li>
<li>{{_i}}Modify the width of column in our grid{{/i}}</li>
<li>Stack elements instead of float wherever necessary</li>
<li>{{_i}}Stack elements instead of float wherever necessary{{/i}}</li>
<li>Resize headings and text to be more appropriate for devices</li>
<li>{{_i}}Resize headings and text to be more appropriate for devices{{/i}}</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
@@ -285,29 +285,29 @@
...
@@ -285,29 +285,29 @@
<br>
<br>
<!-- Media query code -->
<!-- Media query code -->
<h2>Using the media queries</h2>
<h2>{{_i}}Using the media queries{{/i}}</h2>
<divclass="row">
<divclass="row">
<divclass="span5">
<divclass="span5">
<p>Bootstrap doesn't automatically include these media queries, but understanding and adding them is very easy and requires minimal setup. You have a few options for including the responsive features of Bootstrap:</p>
<p>{{_i}}Bootstrap doesn't automatically include these media queries, but understanding and adding them is very easy and requires minimal setup. You have a few options for including the responsive features of Bootstrap:{{/i}}</p>
<ol>
<ol>
<li>Use the compiled responsive version, bootstrap.reponsive.css</li>
<li>{{_i}}Use the compiled responsive version, bootstrap.reponsive.css{{/i}}</li>
<li>Add @import "responsive.less" and recompile Bootstrap</li>
<li>{{_i}}Add @import "responsive.less" and recompile Bootstrap{{/i}}</li>
<li>Compile responsive.less as a separate file and include that</li>
<li>{{_i}}Compile responsive.less as a separate file and include that{{/i}}</li>
</ol>
</ol>
<p><strong>Why not just include it?</strong> Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.</p>
<p>{{_i}}<strong>Why not just include it?</strong> Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.{{/i}}</p>
</div>
</div>
<divclass="span7">
<divclass="span7">
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
// Landscape phones and down
// {{_i}}Landscape phones and down{{/i}}
@media (max-width: 480px) { ... }
@media (max-width: 480px) { ... }
// Landscape phone to portrait tablet
// {{_i}}Landscape phone to portrait tablet{{/i}}
@media (min-width: 480px) and (max-width: 768px) { ... }
@media (min-width: 480px) and (max-width: 768px) { ... }
// Portrait tablet to landscape and desktop
// {{_i}}Portrait tablet to landscape and desktop{{/i}}
@media (min-width: 768px) and (max-width: 940px) { ... }
@media (min-width: 768px) and (max-width: 940px) { ... }
<pclass="lead">Learn about significant changes and additions since v1.4 with this handy guide.</p>
<pclass="lead">{{_i}}Learn about significant changes and additions since v1.4 with this handy guide.{{/i}}</p>
</header>
</header>
<h2>Rough outline</h2>
<h2>Rough outline</h2>
<ul>
<ul>
<li>Docs completely overhauled
<li>{{_i}}Docs completely overhauled{{/i}}
<ul>
<ul>
<li>Responsive thanks to new grid system</li>
<li>{{_i}}Responsive thanks to new grid system{{/i}}</li>
<li>Now less marketing and more information</li>
<li>{{_i}}Now less marketing and more information{{/i}}</li>
<li>Extensive use of tables to share classes and elements of most components</li>
<li>{{_i}}Extensive use of tables to share classes and elements of most components{{/i}}</li>
<li>Broken down into several pages for easier consumption</li>
<li>{{_i}}Broken down into several pages for easier consumption{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Updated grid system, now only 12 columns
<li>{{_i}}Updated grid system, now only 12 columns{{/i}}
<ul>
<ul>
<li>Same great classes, but now only 12 columns</li>
<li>{{_i}}Same great classes, but now only 12 columns{{/i}}</li>
<li>Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more</li>
<li>{{_i}}Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>New thumbnails (previously media grids)
<li>{{_i}}New thumbnails (previously media grids){{/i}}
<ul>
<ul>
<li><code>.media-grid</code> class has been changed to <code>.thumbnails</code></li>
<li>{{_i}}<code>.media-grid</code> class has been changed to <code>.thumbnails</code>{{/i}}</li>
<li>Individual thumbnails now require <code>.thumbnail</code> class</li>
<li>{{_i}}Individual thumbnails now require <code>.thumbnail</code> class{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Updated forms
<li>{{_i}}Updated forms{{/i}}
<ul>
<ul>
<li>Default form style is now stacked to use less CSS and add flexibility</li>
<li>{{_i}}Default form style is now stacked to use less CSS and add flexibility{{/i}}</li>
<li>Exact same markup is required for vertical or horizontal forms—just swap the classes</li>
<li>{{_i}}Exact same markup is required for vertical or horizontal forms—just swap the classes{{/i}}</li>
<li>New form defaults for search, inline, vertical, and horizontal</li>
<li>{{_i}}New form defaults for search, inline, vertical, and horizontal{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Updated tables
<li>Updated tables
<ul>
<ul>
<li>Table classes made more consistent</li>
<li>{{_i}}Table classes made more consistent{{/i}}</li>
<li>Removed unused table color options (too much code for such little impact)</li>
<li>{{_i}}Removed unused table color options (too much code for such little impact){{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Typography
<li>Typography
<ul>
<ul>
<li>Right-aligned option for blockquotes if float: right;</li>
<li>{{_i}}Right-aligned option for blockquotes if float: right;{{/i}}</li>
<li><code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px</li>
<li>{{_i}}<code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px{{/i}}</li>
<li><code>h5</code> elements were dropped from 14px to 12px</li>
<li>{{_i}}<code>h5</code> elements were dropped from 14px to 12px{{/i}}</li>
<li><code>h6</code> elements were dropped from 13px to 11px</li>
<li>{{_i}}<code>h6</code> elements were dropped from 13px to 11px{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Buttons
<li>{{_i}}Buttons{{/i}}
<ul>
<ul>
<li>Added button bar options</li>
<li>{{_i}}Added button bar options{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Examples
<li>{{_i}}Examples{{/i}}
<ul>
<ul>
<li>Fluid examples redone. <code>.fluid-container</code> now requires a <code>.sidebar-left</code> or <code>.sidebar-right</code> as well. Fluid sidebar element has a new class, <code>.fluid-sidebar</code>.</li>
<li>{{_i}}Fluid examples redone. <code>.fluid-container</code> now requires a <code>.sidebar-left</code> or <code>.sidebar-right</code> as well. Fluid sidebar element has a new class, <code>.fluid-sidebar</code>.{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Dropdown menus
<li>{{_i}}Dropdown menus{{/i}}
<ul>
<ul>
<li>Updated the <code>.dropdown-menu</code> to tighten up spacing</li>
<li>{{_i}}Updated the <code>.dropdown-menu</code> to tighten up spacing{{/i}}</li>
<li>Now requires you to add a <code><span class="caret"></span></code> to show the dropdown arrow</li>
<li>{{_i}}Now requires you to add a <code><span class="caret"></span></code> to show the dropdown arrow{{/i}}</li>
<li>The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.</li>
<li>{{_i}}The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.{{/i}}</li>
</ul>
</ul>
</li>
</li>
<li>Navigation
<li>{{_i}}Navigation{{/i}}
<ul>
<ul>
<li>Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code><ul></code></li>
<li>{{_i}}Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code><ul></code>{{/i}}</li>
<li>New nav list component added that uses the same base class, <code>.nav</code></li>
<li>{{_i}}New nav list component added that uses the same base class, <code>.nav</code>{{/i}}</li>
<li>Vertical tabs and pills have been added—just add <code>.stacked</code> to the <code><ul></code></li>
<li>{{_i}}Vertical tabs and pills have been added—just add <code>.stacked</code> to the <code><ul></code><{{/i}}/li>
<li>Pills were restyled to be less rounded by default</li>
<li>{{_i}}Pills were restyled to be less rounded by default{{/i}}</li>
<li>Pills now have dropdown menu support (they share the same markup and styles as tabs)</li>
<li>{{_i}}Pills now have dropdown menu support (they share the same markup and styles as tabs){{/i}}</li>