@@ -331,7 +331,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="dropdowns-example">Example</h3>
<p>Wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then add the menu's HTML.</p>
@@ -384,7 +384,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="dropdowns-submenus">Sub menus on dropdowns</h3>
<p>Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add <code>.dropdown-submenu</code> to any <code>li</code> in an existing dropdown menu for automatic styling.</p>
<p>Make a group of buttons stretch at the same size to span the entire width of its parent. <strong>This only works with <code><a></code> elements</strong> as the <code><button></code> doesn't pick up these styles.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="btn-group btn-group-justified">
<ahref="#"class="btn btn-default">Left</a>
<ahref="#"class="btn btn-default">Right</a>
...
...
@@ -599,7 +599,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
@@ -925,7 +925,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="nav-justified">Justified links</h3>
<p>Easily make tabs or pills equal widths of their parent with <code>.nav-justified</code>.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="nav nav-tabs nav-justified">
<liclass="active"><ahref="#">Home</a></li>
<li><ahref="#">Profile</a></li>
...
...
@@ -955,7 +955,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<p>This class will only change the <code><a></code>'s appearance, not its functionality. Use custom JavaScript to disable links here.</p>
</div>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="nav nav-pills">
<li><ahref="#">Clickable link</a></li>
<li><ahref="#">Clickable link</a></li>
...
...
@@ -982,7 +982,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<p>Add dropdown menus with a little extra HTML and the <ahref="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p>
<h3>Tabs with dropdowns</h3>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="nav nav-tabs">
<liclass="active"><ahref="#">Home</a></li>
<li><ahref="#">Help</a></li>
...
...
@@ -1016,7 +1016,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
{% endhighlight %}
<h3>Pills with dropdowns</h3>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="nav nav-pills">
<liclass="active"><ahref="#">Home</a></li>
<li><ahref="#">Help</a></li>
...
...
@@ -1063,7 +1063,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h2id="navbar-basic">Basic navbar</h2>
<p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<aclass="navbar-brand"href="#">Title</a>
<ulclass="nav navbar-nav">
...
...
@@ -1088,7 +1088,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="navbar-brand">Brand</h3>
<p>A simple link to show your brand or project name only requires an anchor tag.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<aclass="navbar-brand"href="#">Title</a>
</div>
...
...
@@ -1099,7 +1099,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="navbar-nav">Nav links</h3>
<p>Nav items are simple to add via unordered lists.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<ulclass="nav navbar-nav">
<liclass="active"><ahref="#">Home</a></li>
...
...
@@ -1118,7 +1118,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="navbar-forms">Forms</h3>
<p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<formclass="navbar-form pull-left">
...
...
@@ -1167,7 +1167,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="navbar-buttons">Buttons</h3>
<p>For buttons not residing in a <code><form></code>, add this class to vertically center buttons within a navbar.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<ahref="#"class="navbar-brand">Brand</a>
<buttontype="button"class="btn">Submit</button>
...
...
@@ -1176,7 +1176,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="navbar-text">Text</h3>
<p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<ahref="#"class="navbar-brand">Brand</a>
<pclass="navbar-text">Signed in as Mark Otto</p>
...
...
@@ -1191,7 +1191,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<h3id="navbar-links">Links</h3>
<p>For folks using standard links that are not within the regular navbar navigation component, use the <code>.navbar-link</code> class to add the proper colors for the default and inverse navbar options.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="navbar">
<ahref="#"class="navbar-brand">Brand</a>
<pclass="pull-right">Signed in as <ahref="#"class="navbar-link">Mark Otto</a></p>
...
...
@@ -1213,7 +1213,7 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
<p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code>. Unlike the <code>.navbar-fixed-*</code> classes, you do not need to change any padding on the <code>body</code>.</p>
<p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.navbar-toggle</code>.</p>
<p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="pagination">
<li><ahref="#">«</a></li>
<li><ahref="#">1</a></li>
...
...
@@ -1508,7 +1508,7 @@ body {
<h3>Disabled and active states</h3>
<p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="pagination">
<liclass="disabled"><ahref="#">«</a></li>
<liclass="active"><ahref="#">1</a></li>
...
...
@@ -1538,7 +1538,7 @@ body {
<h3>Sizes</h3>
<p>Fancy larger or smaller pagination? Add <code>.pagination-large</code>, <code>.pagination-small</code>, or <code>.pagination-mini</code> for additional sizes.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<div>
<ulclass="pagination pagination-large">
<li><ahref="#">«</a></li>
...
...
@@ -1597,7 +1597,7 @@ body {
<h3>Default example</h3>
<p>By default, the pager centers links.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="pager">
<li><ahref="#">Previous</a></li>
<li><ahref="#">Next</a></li>
...
...
@@ -1612,7 +1612,7 @@ body {
<h3>Aligned links</h3>
<p>Alternatively, you can align each link to the sides:</p>
<p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code> element, as well as most other components (with additional styles).</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="page-header">
<h1>Example page header <small>Subtext for header</small></h1>
</div>
...
...
@@ -1799,7 +1799,7 @@ body {
<h3>Default thumbnails</h3>
<p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="row">
<divclass="col col-lg-3">
<ahref="#"class="thumbnail">
...
...
@@ -1822,7 +1822,7 @@ body {
</a>
</div>
</div>
</div><!-- /.bs-docs-example -->
</div><!-- /.bs-example -->
{% highlight html %}
<divclass="row">
<divclass="col col-lg-3">
...
...
@@ -1836,7 +1836,7 @@ body {
<h3>Custom content thumbnails</h3>
<p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="row">
<divclass="col col-lg-4">
<divclass="thumbnail">
...
...
@@ -1869,7 +1869,7 @@ body {
</div>
</div>
</div>
</div><!-- /.bs-docs-example -->
</div><!-- /.bs-example -->
{% highlight html %}
<divclass="row">
<divclass="col col-lg-3">
...
...
@@ -1899,7 +1899,7 @@ body {
<h3id="alerts-default">Default alert</h3>
<p>Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message. <strong>To ensure proper behavior across all devices</strong>, be sure to use <code><button></code> element with the <code>data-dismiss="alert"</code> data attribute.</p>
<p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="media-list">
<liclass="media">
<aclass="pull-left"href="#">
...
...
@@ -2211,7 +2211,7 @@ body {
<h3id="list-group-basic">Basic list group</h3>
<p>The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="list-group">
<liclass="list-group-item">Cras justo odio</li>
<liclass="list-group-item">Dapibus ac facilisis in</li>
...
...
@@ -2232,7 +2232,7 @@ body {
<h3id="list-group-chevrons">With chevrons</h3>
<p>Add Glyphicon chevrons that are automatically moved to the right.</p>
<p>Linkify list group items by using anchor tags instead of list items (that also means a parent <code><div></code> instead of an <code><ul></code>). No need for individual parents around each element.</p>
<p>Add nearly any HTML within, even for linked list groups like the one below.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="list-group">
<ahref="#"class="list-group-item active">
<h4class="list-group-item-heading">List group item heading</h4>
...
...
@@ -2399,7 +2399,7 @@ body {
<h3id="panels-basic">Basic panel</h3>
<p>By default, all the <code>.panel</code> does is apply some basic border and padding to contain some content.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<divclass="panel">
Basic panel example
</div>
...
...
@@ -2412,7 +2412,7 @@ body {
<h3id="panels-heading">Panel with heading</h3>
<p>Easily add a heading to your panel with <code>.panel-heading</code>. Use it on a <code><div></code> or any heading element (e.g., <code><h3></code>).</p>
@@ -282,7 +282,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h2id="type-headings">Headings</h2>
<p>All HTML headings, <code><h1></code> through <code><h6></code> are available.</p>
<divclass="bs-docs-example bs-docs-example-type">
<divclass="bs-example bs-example-type">
<tableclass="table">
<tbody>
<tr>
...
...
@@ -324,7 +324,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<!-- Body copy -->
<h2id="type-body-copy">Body copy</h2>
<p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (10px by default).</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<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.</p>
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
...
...
@@ -336,7 +336,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<!-- Body copy .lead -->
<h3>Lead body copy</h3>
<p>Make a paragraph stand out by adding <code>.lead</code>.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<pclass="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>
</div>
{% highlight html %}
...
...
@@ -354,7 +354,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Small text</h3>
<p>For de-emphasizing inline or blocks of text, use the <code><small></code> tag to set text at 85% the size of the parent. Heading elements receive their own <code>font-size</code> for nested <code><small></code> elements.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<p><small>This line of text is meant to be treated as fine print.</small></p>
</div>
{% highlight html %}
...
...
@@ -364,7 +364,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Bold</h3>
<p>For emphasizing a snippet of text with a heavier font-weight.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
</div>
{% highlight html %}
...
...
@@ -373,7 +373,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Italics</h3>
<p>For emphasizing a snippet of text with italics.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<p>The following snippet of text is <em>rendered as italicized text</em>.</p>
</div>
{% highlight html %}
...
...
@@ -384,7 +384,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Alignment classes</h3>
<p>Easily realign text to components with text alignment classes.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<pclass="text-left">Left aligned text.</p>
<pclass="text-center">Center aligned text.</p>
<pclass="text-right">Right aligned text.</p>
...
...
@@ -397,7 +397,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Emphasis classes</h3>
<p>Convey meaning through color with a handful of emphasis utility classes.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<pclass="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
<pclass="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
<pclass="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
...
...
@@ -417,7 +417,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Basic abbreviation</h3>
<p>For expanded text on long hover of an abbreviation, include the <code>title</code> attribute with the <code><abbr></code> element.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<p>An abbreviation of the word attribute is <abbrtitle="attribute">attr</abbr>.</p>
</div>
{% highlight html %}
...
...
@@ -426,7 +426,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Initialism</h3>
<p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<p><abbrtitle="HyperText Markup Language"class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
</div>
{% highlight html %}
...
...
@@ -437,7 +437,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<!-- Addresses -->
<h2id="type-addresses">Addresses</h2>
<p>Present contact information for the nearest ancestor or the entire body of work. Preserve formatting by ending all lines with <code><br></code>.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<address>
<strong>Twitter, Inc.</strong><br>
795 Folsom Ave, Suite 600<br>
...
...
@@ -470,7 +470,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Default blockquote</h3>
<p>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>
<divclass="bs-docs-example">
<divclass="bs-example">
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
</blockquote>
...
...
@@ -486,7 +486,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h4>Naming a source</h4>
<p>Add <code><small></code> tag for identifying the source. Wrap the name of the source work in <code><cite></code>.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>Someone famous in <citetitle="Source Title">Source Title</cite></small>
...
...
@@ -501,7 +501,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h4>Alternate displays</h4>
<p>Use <code>.pull-right</code> for a floated, right-aligned blockquote.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>Someone famous in <citetitle="Source Title">Source Title</cite></small>
...
...
@@ -519,7 +519,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Unordered</h3>
<p>A list of items in which the order does <em>not</em> explicitly matter.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ul>
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
...
...
@@ -546,7 +546,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Ordered</h3>
<p>A list of items in which the order <em>does</em> explicitly matter.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ol>
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
...
...
@@ -566,7 +566,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Unstyled</h3>
<p>Remove the default <code>list-style</code> and left margin on list items (immediate children only). <strong>This only applies to immediate children list items</strong>, meaning you will need to add the class for any nested lists as well.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
...
...
@@ -593,7 +593,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Inline</h3>
<p>Place all list items on a single line with <code>inline-block</code> and some light padding.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<ulclass="list-inline">
<li>Lorem ipsum</li>
<li>Phasellus iaculis</li>
...
...
@@ -608,7 +608,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h3>Description</h3>
<p>A list of terms with their associated descriptions.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<dl>
<dt>Description lists</dt>
<dd>A description list is perfect for defining terms.</dd>
...
...
@@ -628,7 +628,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h4>Horizontal description</h4>
<p>Make terms and descriptions in <code><dl></code> line up side-by-side.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<dlclass="dl-horizontal">
<dt>Description lists</dt>
<dd>A description list is perfect for defining terms.</dd>
...
...
@@ -664,7 +664,7 @@ lead: "Fundamental HTML elements styled and enhanced with extensible classes."
<h2>Inline</h2>
<p>Wrap inline snippets of code with <code><code></code>.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
For example, <code><section></code> should be wrapped as inline.
</div>
{% highlight html %}
...
...
@@ -673,7 +673,7 @@ For example, <code><section></code> should be wrapped as inline.
<h2>Basic block</h2>
<p>Use <code><pre></code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<pre><p>Sample text here...</p></pre>
</div>
{% highlight html %}
...
...
@@ -694,7 +694,7 @@ For example, <code><section></code> should be wrapped as inline.
<h2id="tables-example">Basic example</h2>
<p>For basic styling—light padding and only horizontal dividers—add the base class <code>.table</code> to any <code><table></code>. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we've opted to isolate our custom table styles.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<tableclass="table">
<thead>
<tr>
...
...
@@ -742,7 +742,7 @@ For example, <code><section></code> should be wrapped as inline.
<h4>Cross-browser compatibility</h4>
<p>Striped tables are styled via the <code>:nth-child</code> CSS selector, which is not available in IE8.</p>
</div>
<divclass="bs-docs-example">
<divclass="bs-example">
<tableclass="table table-striped">
<thead>
<tr>
...
...
@@ -782,7 +782,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3id="tables-bordered">Bordered</h3>
<p>Add <code>.table-bordered</code> for borders and rounded corners.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<tableclass="table table-bordered">
<thead>
<tr>
...
...
@@ -826,7 +826,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3id="tables-hover-rows">Hover rows</h3>
<p>Add <code>.table-hover</code> to enable a hover state on table rows within a <code><tbody></code>.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<tableclass="table table-hover">
<thead>
<tr>
...
...
@@ -866,7 +866,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3id="tables-condensed">Condensed</h3>
<p>Add <code>.table-condensed</code> to make tables more compact by cutting cell padding in half.</p>
<divclass="bs-docs-example">
<divclass="bs-example">
<tableclass="table table-condensed">
<thead>
<tr>
...
...
@@ -945,7 +945,7 @@ For example, <code><section></code> should be wrapped as inline.
</tr>
</tbody>
</table>
<divclass="bs-docs-example">
<divclass="bs-example">
<tableclass="table">
<thead>
<tr>
...
...
@@ -1001,7 +1001,7 @@ For example, <code><section></code> should be wrapped as inline.
<h2id="forms-example">Basic example</h2>
<p>Individual form controls automatically receive some global styling. By default, inputs are set to <code>width: 100%;</code>.</p>
<formclass="bs-docs-example">
<formclass="bs-example">
<fieldset>
<legend>Legend</legend>
<label>Label name</label>
...
...
@@ -1042,7 +1042,7 @@ For example, <code><section></code> should be wrapped as inline.
<h4>Requires custom widths</h4>
<p>Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.</p>
@@ -1217,7 +1217,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3>Selects</h3>
<p>Use the default option or specify a <code>multiple="multiple"</code> to show multiple options at once.</p>
<formclass="bs-docs-example">
<formclass="bs-example">
<select>
<option>1</option>
<option>2</option>
...
...
@@ -1259,7 +1259,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3id="forms-input-focus">Input focus</h3>
<p>We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.</p>
<formclass="bs-docs-example form-inline">
<formclass="bs-example form-inline">
<inputclass="focused"id="focusedInput"type="text"value="This is focused...">
</form>
{% highlight html %}
...
...
@@ -1274,7 +1274,7 @@ For example, <code><section></code> should be wrapped as inline.
<p>Invalid inputs are styled via the <code>:invalid</code> CSS selector, which is not supported by Internet Explorer 9 and below.</p>
@@ -1303,7 +1303,7 @@ For example, <code><section></code> should be wrapped as inline.
<p>While Bootstrap will apply these styles in all browsers, IE and Safari don't actually support the <code><disabled></code> attribute on a <code><fieldset></code>. Use custom JavaScript to disable the fieldset in these browsers.</p>
@@ -1350,7 +1350,7 @@ For example, <code><section></code> should be wrapped as inline.
</ul>
<p>Validation styles are applied on a per-input basis. With horizontal forms, the <code><label class="control-label"></code> will always be styled.</p>
<formclass="bs-docs-example form-horizontal">
<formclass="bs-example form-horizontal">
<divclass="control-group has-warning">
<labelclass="control-label"for="inputWarning">Input with warning</label>
<divclass="controls">
...
...
@@ -1404,7 +1404,7 @@ For example, <code><section></code> should be wrapped as inline.
<p>Avoid using <code><select></code> elements here as they cannot be fully styled in WebKit browsers.</p>
</div>
<formclass="bs-docs-example">
<formclass="bs-example">
<divclass="input-group col col-lg-9">
<spanclass="input-group-addon">@</span>
<inputtype="text"placeholder="Username">
...
...
@@ -1441,7 +1441,7 @@ For example, <code><section></code> should be wrapped as inline.
<h4>Optional sizes</h4>
<p>Add the relative form sizing classes to the `.input-group-addon`.</p>
@@ -1476,7 +1476,7 @@ For example, <code><section></code> should be wrapped as inline.
<h4>Buttons instead of text</h4>
<p>Buttons in input groups are a bit different and require one extra level of nesting. Instead of <code>.input-group-addon</code>, you'll need to use <code>.input-group-btn</code> to wrap the buttons. This is required due to default browser styles that cannot be overridden.</p>
<formclass="bs-docs-example">
<formclass="bs-example">
<divclass="input-group col col-lg-7">
<spanclass="input-group-btn">
<buttonclass="btn"type="button">Go!</button>
...
...
@@ -1509,7 +1509,7 @@ For example, <code><section></code> should be wrapped as inline.
@@ -1671,7 +1671,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3id="forms-actions">Form actions</h3>
<p>End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.</p>
<p>The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.</p>
@@ -719,13 +719,13 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h2>Examples</h2>
<p>Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.</p>
<p>Hover over the links below to see tooltips:</p>
<divclass="bs-docs-example tooltip-demo">
<divclass="bs-example tooltip-demo">
<pclass="muted"style="margin-bottom: 0;">Tight pants next level keffiyeh <ahref="#"data-toggle="tooltip"title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <ahref="#"data-toggle="tooltip"title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <ahref="#"data-toggle="tooltip"title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <ahref="#"data-toggle="tooltip"title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.
</p>
</div><!-- /example -->
<h3>Four directions</h3>
<divclass="bs-docs-example tooltip-demo">
<divclass="bs-example tooltip-demo">
<ulclass="bs-docs-tooltip-examples">
<li><ahref="#"data-toggle="tooltip"data-placement="top"title="Tooltip on top">Tooltip on top</a></li>
<li><ahref="#"data-toggle="tooltip"data-placement="right"title="Tooltip on right">Tooltip on right</a></li>
<ahref="#"class="btn btn-large btn-danger"data-toggle="popover"title="A Title"data-content="And here's some amazing content. It's very engaging. right?">Click to toggle popover</a>
</div>
<h4>Four directions</h4>
<divclass="bs-docs-example tooltip-demo">
<divclass="bs-example tooltip-demo">
<ulclass="bs-docs-tooltip-examples">
<li><ahref="#"class="btn"data-toggle="popover"data-placement="top"data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."title="Popover on top">Popover on top</a></li>
<li><ahref="#"class="btn"data-toggle="popover"data-placement="right"data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."title="Popover on right">Popover on right</a></li>