0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +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"> <section class="download" id="components">
<div class="page-header"> <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> <h1>
1. Select components 1. Select components
<small>Get just the CSS you need</small> <small>Get just the CSS you need</small>
@ -79,7 +79,7 @@
<section class="download" id="variables"> <section class="download" id="variables">
<div class="page-header"> <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> <h1>
2. Modify variables 2. Modify variables
<small>Customize Bootstrap without using a LESS compiler</small> <small>Customize Bootstrap without using a LESS compiler</small>
@ -157,7 +157,7 @@
<section class="download" id="plugins"> <section class="download" id="plugins">
<div class="page-header"> <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> <h1>
3. Select jQuery plugins 3. Select jQuery plugins
<small>Quickly add only the necessary javascript</small> <small>Quickly add only the necessary javascript</small>

View File

@ -71,6 +71,8 @@
</div> </div>
</div><!-- /row --> </div><!-- /row -->
<br>
<h2>Offsetting columns</h2> <h2>Offsetting columns</h2>
<div class="row show-grid"> <div class="row show-grid">
<div class="span4">4</div> <div class="span4">4</div>
@ -83,6 +85,12 @@
<div class="row show-grid"> <div class="row show-grid">
<div class="span8 offset4">8 offset 4</div> <div class="span8 offset4">8 offset 4</div>
</div><!-- /row --> </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> <br>