aboutsummaryrefslogtreecommitdiff
path: root/docs/scaffolding.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-06-20 20:26:59 -0700
committerMark Otto <[email protected]>2012-06-20 20:26:59 -0700
commit3875a9f31b278d67e3774fbf92972f9f400130aa (patch)
tree1cb96fdf714d8f5d1f0934d3e9f0652d38a1f06b /docs/scaffolding.html
parent7301931a6d4b298fc267d7f74e437f615b652627 (diff)
parentb353565d4e0bf7d6a05b3295c0d8db5ca745bd1c (diff)
downloadbootstrap-3875a9f31b278d67e3774fbf92972f9f400130aa.tar.xz
bootstrap-3875a9f31b278d67e3774fbf92972f9f400130aa.zip
Merge branch 'marcusds-2.1.0-wip' into 2.1.0-wip
Diffstat (limited to 'docs/scaffolding.html')
-rw-r--r--docs/scaffolding.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index b0758a480..459933a7e 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -283,6 +283,28 @@
&lt;/div&gt;
</pre>
+ <h2>Fluid offsetting</h2>
+ <p>Operates the same way as the fixed grid system offsetting: add <code>.offset*</code> to any column to offset by that many columns.</p>
+ <div class="bs-docs-grid">
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span4 offset4">4 offset 4</div>
+ </div><!-- /row -->
+ <div class="row-fluid show-grid">
+ <div class="span3 offset3">3 offset 3</div>
+ <div class="span3 offset3">3 offset 3</div>
+ </div><!-- /row -->
+ <div class="row-fluid show-grid">
+ <div class="span6 offset6">6 offset 6</div>
+ </div><!-- /row -->
+ </div>
+<pre class="prettyprint linenums">
+&lt;div class="row-fluid"&gt;
+ &lt;div class="span4"&gt;...&lt;/div&gt;
+ &lt;div class="span4 offset2"&gt;...&lt;/div&gt;
+&lt;/div&gt;
+</pre>
+
<h2>Fluid nesting</h2>
<p>Nesting with fluid grids is a bit different: the number of nested columns should not match the parent's number of columns. Instead, each level of nested columns are reset because each row takes up 100% of the parent column.</p>
<div class="row-fluid show-grid">