aboutsummaryrefslogtreecommitdiff
path: root/docs/scaffolding.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-11 10:38:41 -0800
committerMark Otto <[email protected]>2012-02-11 10:38:41 -0800
commit102bb8e68439d28334c2c9f6e4579fdd9950c102 (patch)
treef9daede188e2f770a761ac6ac2e349037376396a /docs/scaffolding.html
parent2679c3ebe3bb21599826dd204b1c9df44d217497 (diff)
downloadbootstrap-102bb8e68439d28334c2c9f6e4579fdd9950c102.tar.xz
bootstrap-102bb8e68439d28334c2c9f6e4579fdd9950c102.zip
clear up some messaging in docs on fluid grid system and nesting overall
Diffstat (limited to 'docs/scaffolding.html')
-rw-r--r--docs/scaffolding.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index 6ed5857ff..58bf88b24 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -173,7 +173,8 @@
<div class="row">
<div class="span6">
<p>With the static (non-fluid) grid system in Bootstrap, nesting is easy. To nest your content, just add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column.</p>
- <h4>Example</h4>
+ <h3>Example</h3>
+ <p>Nested rows should include a set of columns that add up to the number of columns of it's parent. For example, two nested <code>.span3</code> columns should be placed within a <code>.span6</code>.</p>
<div class="row show-grid">
<div class="span6">
Level 1 of column
@@ -187,6 +188,21 @@
</div>
</div>
</div>
+ <h3>Fluid example</h3>
+ <p>Nesting with fluid grids is a bit different: the number of nested columns doesn't need to match the parent. Instead, your columns are reset at each level because each row takes up 100% of the parent column.</p>
+ <div class="row-fluid show-grid">
+ <div class="span12">
+ Fluid 12
+ <div class="row-fluid show-grid">
+ <div class="span6">
+ Fluid 6
+ </div>
+ <div class="span6">
+ Fluid 6
+ </div>
+ </div>
+ </div>
+ </div>
</div>
<div class="span6">
<pre class="prettyprint linenums">