<p>Once you've downloaded and included Bootstrap's CSS into your templates, you can move on to customizing the included components. To do so, create a new stylesheet (LESS, if you like, or just plain CSS) to house your customizations.</p>
<p>Once you've downloaded and included Bootstrap's CSS into your templates, you can move on to customizing the included components. To do so, create a new stylesheet (LESS, if you like, or just plain CSS) to house your customizations.</p>
<divclass="bs-docs-sidenote">
<divclass="bs-docs-sidenote">
<p><strong>Compiled or minified?</strong></p>
<h4>Compiled or minified?</h4>
<p>Unless you plan on reading a good chunk of the compiled CSS, go with the minified. It's the same code, just compacted. Less bandwidth is good, especially in production environments.</p>
<p>Unless you plan on reading a good chunk of the compiled CSS, go with the minified. It's the same code, just compacted. Less bandwidth is good, especially in production environments.</p>
<p>Going beyond light customizations and into visual overhauls is just as straightforward as the above custom button. For a site like <ahref="http://yourkarma.com">Karma</a>, which uses Bootstrap as a CSS reset with heavy modifications, more extensive work is involved, but well worth it in the end.</p>
<p>Going beyond light customizations and into visual overhauls is just as straightforward as the above custom button. For a site like <ahref="http://yourkarma.com">Karma</a>, which uses Bootstrap as a CSS reset with heavy modifications, more extensive work is involved, but well worth it in the end.</p>
<p>While not recommended for folks new to Bootstrap, you may use one of two alternate methods for customization. The first is modifying the source .less files (making upgrades super difficult), and the second is mapping source LESS code to <ahref="http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html">your own classes via mixins</a>. For the time being, neither options are documented here.</p>
<p>While not recommended for folks new to Bootstrap, you may use one of two alternate methods for customization. The first is modifying the source .less files (making upgrades super difficult), and the second is mapping source LESS code to <ahref="http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html">your own classes via mixins</a>. For the time being, neither options are documented here.</p>
</div>
</div>
...
@@ -2104,7 +2104,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -2104,7 +2104,7 @@ For example, <code><section></code> should be wrapped as inline.
<p>If you add the <code>disabled</code> attribute to a <code><button></code>, Internet Explorer 9 and below will render text gray with a nasty text-shadow that we cannot fix.</p>
<p>If you add the <code>disabled</code> attribute to a <code><button></code>, Internet Explorer 9 and below will render text gray with a nasty text-shadow that we cannot fix.</p>
</div>
</div>
...
@@ -2562,7 +2562,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -2562,7 +2562,7 @@ For example, <code><section></code> should be wrapped as inline.
{% endhighlight %}
{% endhighlight %}
<divclass="bs-docs-sidenote">
<divclass="bs-docs-sidenote">
<p><strong>Accessibility</strong></p>
<h4>Accessibility</h4>
<p>Keep in mind that using icons without any additional content means the icons are not represented to screen reader users.</p>
<p>Keep in mind that using icons without any additional content means the icons are not represented to screen reader users.</p>
</div>
</div>
...
@@ -3603,7 +3603,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -3603,7 +3603,7 @@ For example, <code><section></code> should be wrapped as inline.
{% endhighlight %}
{% endhighlight %}
<divclass="bs-docs-sidenote">
<divclass="bs-docs-sidenote">
<p><strong>Plugin dependency</strong></p>
<h4>Plugin dependency</h4>
<p>The responsive navbar requires the <ahref="#collapse">collapse plugin</a> to be included in your version of Bootstrap.</p>
<p>The responsive navbar requires the <ahref="#collapse">collapse plugin</a> to be included in your version of Bootstrap.</p>
</div>
</div>
...
@@ -4187,7 +4187,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -4187,7 +4187,7 @@ For example, <code><section></code> should be wrapped as inline.
<pclass="lead">Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.</p>
<pclass="lead">Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.</p>
<p>Progress bars use CSS3 transitions and animations to achieve some of their effects.</p>
<p>Progress bars use CSS3 transitions and animations to achieve some of their effects.</p>
<p>These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.</p>
<p>These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.</p>
</div>
</div>
...
@@ -5290,7 +5290,7 @@ $('.navbar').scrollspy()
...
@@ -5290,7 +5290,7 @@ $('.navbar').scrollspy()
{% endhighlight %}
{% endhighlight %}
<divclass="bs-docs-sidenote">
<divclass="bs-docs-sidenote">
<p><strong>Resolvable ID targets required</strong></p>
<h4>Resolvable ID targets required</h4>
<p>Navbar links must have resolvable id targets. For example, a <code><a href="#home">home</a></code> must correspond to something in the dom like <code><div id="home"></div></code>.</p>
<p>Navbar links must have resolvable id targets. For example, a <code><a href="#home">home</a></code> must correspond to something in the dom like <code><div id="home"></div></code>.</p>
<p><ahref="https://github.com/twitter/bootstrap/issues/793">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.</p>
<p><ahref="https://github.com/twitter/bootstrap/issues/793">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.</p>
</div>
</div>
...
@@ -6547,7 +6547,7 @@ $('.typeahead').typeahead()
...
@@ -6547,7 +6547,7 @@ $('.typeahead').typeahead()
{% endhighlight %}
{% endhighlight %}
<divclass="bs-docs-sidenote">
<divclass="bs-docs-sidenote">
<p><strong>Heads up!</strong></p>
<h4>Requires positioning</h4>
<p>You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.</p>
<p>You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.</p>