0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

buttons for toggle links in js docs, code example for offsetting in grid

This commit is contained in:
Mark Otto 2012-01-27 09:36:49 -08:00
parent 9d0328ff00
commit e44a7dd4ff
2 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<section class="download" id="components">
<div class="page-header">
<a class="pull-right toggle-all" href="#">Toggle all</a>
<a class="btn small pull-right toggle-all" href="#">Toggle all</a>
<h1>
1. Select components
<small>Get just the CSS you need</small>
@ -79,7 +79,7 @@
<section class="download" id="variables">
<div class="page-header">
<a class="pull-right toggle-all" href="#">Reset to defaults</a>
<a class="btn small pull-right toggle-all" href="#">Reset to defaults</a>
<h1>
2. Modify variables
<small>Customize Bootstrap without using a LESS compiler</small>
@ -157,7 +157,7 @@
<section class="download" id="plugins">
<div class="page-header">
<a class="pull-right toggle-all" href="#">Toggle all</a>
<a class="btn small pull-right toggle-all" href="#">Toggle all</a>
<h1>
3. Select jQuery plugins
<small>Quickly add only the necessary javascript</small>

View File

@ -71,6 +71,8 @@
</div>
</div><!-- /row -->
<br>
<h2>Offsetting columns</h2>
<div class="row show-grid">
<div class="span4">4</div>
@ -83,6 +85,12 @@
<div class="row show-grid">
<div class="span8 offset4">8 offset 4</div>
</div><!-- /row -->
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
&lt;div class="span4 offset4"&gt;...&lt;/div&gt;
&lt;/div&gt;
</pre>
<br>