<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>
<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>
</div>
<divclass="span12 columns">
<divclass="span12 columns">
<h3>Example grid markup</h3>
<h3>Example grid markup</h3>
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
<divclass="span6 columns">
<divclass="span6 columns">
<h3>Example paragraph</h3>
<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>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>
<p>You can also add subheadings with the <code><strong></code> and <code><em></code></p>
</div>
</div>
</div>
</div>
...
@@ -288,9 +288,9 @@
...
@@ -288,9 +288,9 @@
<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>
<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>
<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>
<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> It's still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don't come with inherent styles anymore. <code><b></code> is meant to convey importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
<p><strong>Note:</strong> It’s still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don’t come with inherent styles anymore. <code><b></code> is meant to convey importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
<h3>Addresses</h3>
<h3>Addresses</h3>
<p>The <code>address</code> element is used for contact information for its nearest ancestor, or the entire body of work. Here's how it looks:</p>
<p>The <code>address</code> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:</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/>
...
@@ -315,7 +315,7 @@
...
@@ -315,7 +315,7 @@
<divclass="span12 columns">
<divclass="span12 columns">
<p>Be sure to wrap your <code>blockquote</code> around <code>paragraph</code> and <code>small</code> tags. When citing a source, use the <code>small</code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
<p>Be sure to wrap your <code>blockquote</code> around <code>paragraph</code> and <code>small</code> tags. When citing a source, use the <code>small</code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
<blockquote>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua...</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…</p>
<small>Dr. Julius Hibbert</small>
<small>Dr. Julius Hibbert</small>
</blockquote>
</blockquote>
</div>
</div>
...
@@ -423,7 +423,7 @@
...
@@ -423,7 +423,7 @@
</p>
</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>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>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>
<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>
</ul>
</div>
</div>
<divclass="span12 columns">
<divclass="span12 columns">
...
@@ -502,7 +502,7 @@
...
@@ -502,7 +502,7 @@
</table></pre>
</table></pre>
<h3>Example: Zebra-striped w/ TableSorter.js</h3>
<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>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>
<span>Option one is this and that—be sure to include why it's great</span>
<span>Option one is this and that—be sure to include why it’s great</span>
</label>
</label>
</li>
</li>
<li>
<li>
...
@@ -741,7 +741,7 @@
...
@@ -741,7 +741,7 @@
<divclass="row">
<divclass="row">
<divclass="span4 columns">
<divclass="span4 columns">
<h2>Stacked forms</h2>
<h2>Stacked forms</h2>
<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>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>
<span>Option one is this and that—be sure to include why it's great</span>
<span>Option one is this and that—be sure to include why it’s great</span>
</label>
</label>
</li>
</li>
<li>
<li>
...
@@ -807,7 +807,7 @@
...
@@ -807,7 +807,7 @@
</div>
</div>
<divclass="span12 columns">
<divclass="span12 columns">
<h3>Example buttons</h3>
<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>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>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>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>
<h4>Links</h4>
<divclass="well">
<divclass="well">
<ahref="#"class="btn large primary disabled">Primary action</a>
<ahref="#"class="btn large primary disabled">Primary action</a>
...
@@ -875,7 +875,7 @@
...
@@ -875,7 +875,7 @@
<divclass="row">
<divclass="row">
<divclass="span5 columns">
<divclass="span5 columns">
<h4>What is it</h4>
<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>
<p>Our topbar is a fixed bar that houses a website’s logo or name, primary navigation, and search form.</p>
</div>
</div>
<divclass="span5 columns">
<divclass="span5 columns">
<h4>Customizable</h4>
<h4>Customizable</h4>
...
@@ -883,7 +883,7 @@
...
@@ -883,7 +883,7 @@
</div>
</div>
<divclass="span6 columns">
<divclass="span6 columns">
<h4>Dropdowns included</h4>
<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>
<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>
</div>
</div>
...
@@ -954,7 +954,7 @@
...
@@ -954,7 +954,7 @@
<liclass="active"><ahref="">10</a></li>
<liclass="active"><ahref="">10</a></li>
<li><ahref="">11</a></li>
<li><ahref="">11</a></li>
<li><ahref="">12</a></li>
<li><ahref="">12</a></li>
<liclass="disabled"><ahref="">...</a></li>
<liclass="disabled"><ahref="">…</a></li>
<li><ahref="">19</a></li>
<li><ahref="">19</a></li>
<li><ahref="">20</a></li>
<li><ahref="">20</a></li>
<li><ahref="">21</a></li>
<li><ahref="">21</a></li>
...
@@ -1014,7 +1014,7 @@
...
@@ -1014,7 +1014,7 @@
</div>
</div>
<divclass="alert-message warning">
<divclass="alert-message warning">
<aclass="close"href="#">×</a>
<aclass="close"href="#">×</a>
<p><strong>Holy gaucamole!</strong> Best check yo self, you're not looking too good.</p>
<p><strong>Holy gaucamole!</strong> Best check yo self, you’re not looking too good.</p>
</div>
</div>
<divclass="alert-message success">
<divclass="alert-message success">
<aclass="close"href="#">×</a>
<aclass="close"href="#">×</a>
...
@@ -1022,7 +1022,7 @@
...
@@ -1022,7 +1022,7 @@
</div>
</div>
<divclass="alert-message info">
<divclass="alert-message info">
<aclass="close"href="#">×</a>
<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><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>
</div>
</div>
</div>
...
@@ -1039,7 +1039,7 @@
...
@@ -1039,7 +1039,7 @@
</div>
</div>
<divclass="alert-message block-message warning">
<divclass="alert-message block-message warning">
<aclass="close"href="#">×</a>
<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><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>
<p><aclass="btn small"href="#">Take this action</a><aclass="btn small"href="#">Or do this</a></p>
</div>
</div>
<divclass="alert-message block-message success">
<divclass="alert-message block-message success">
...
@@ -1049,7 +1049,7 @@
...
@@ -1049,7 +1049,7 @@
</div>
</div>
<divclass="alert-message block-message info">
<divclass="alert-message block-message info">
<aclass="close"href="#">×</a>
<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><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>
<p><aclass="btn small"href="#">Take this action</a><aclass="btn small"href="#">Or do this</a></p>
</div>
</div>
</div>
</div>
...
@@ -1064,7 +1064,7 @@
...
@@ -1064,7 +1064,7 @@
<divclass="row">
<divclass="row">
<divclass="span4 columns">
<divclass="span4 columns">
<h2>Modals</h2>
<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>Modals—dialogs or lightboxes—are great for contextual actions in situations where it’s important that the background context be maintained.</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>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>
<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>
<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>
<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>
<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">
<preclass="prettyprint linenums">
// Links
// Links
@linkColor: #8b59c2;
@linkColor: #8b59c2;
...
@@ -1192,14 +1192,14 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
...
@@ -1192,14 +1192,14 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
</pre>
</pre>
<h3>Commenting</h3>
<h3>Commenting</h3>
<p>Less also provides another style of commenting in addition to CSS's normal <code>/* ... */</code> syntax.</p>
<p>Less also provides another style of commenting in addition to CSS’s normal <code>/* ... */</code> syntax.</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>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>
<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>