diff options
| author | Mark Otto <[email protected]> | 2015-11-14 19:39:28 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-11-14 19:39:28 -0800 |
| commit | 14d73b9c136b5352d7f8c1a04be17c1fe2f13397 (patch) | |
| tree | 205e38110b45017268b47556315fad7d2d0ebc13 /docs/_includes/css | |
| parent | 8248b9e21034cfb56bb83402a969aa94e175b14f (diff) | |
| download | bootstrap-14d73b9c136b5352d7f8c1a04be17c1fe2f13397.tar.xz bootstrap-14d73b9c136b5352d7f8c1a04be17c1fe2f13397.zip | |
fixes #17003
Diffstat (limited to 'docs/_includes/css')
| -rw-r--r-- | docs/_includes/css/grid.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_includes/css/grid.html b/docs/_includes/css/grid.html index 5b14dd7d1..ad8b67615 100644 --- a/docs/_includes/css/grid.html +++ b/docs/_includes/css/grid.html @@ -333,6 +333,17 @@ </div> {% endhighlight %} + <p>You can also override offsets from lower grid tiers with <code>-offset-0</code> classes.</p> +{% highlight html %} +<div class="row"> + <div class="col-xs-6 col-sm-4"> + </div> + <div class="col-xs-6 col-sm-4"> + </div> + <div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-0"> + </div> +</div> +{% endhighlight %} <h2 id="grid-nesting">Nesting columns</h2> <p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.col-sm-*</code> columns within an existing <code>.col-sm-*</code> column. Nested rows should include a set of columns that add up to 12 or fewer (it is not required that you use all 12 available columns).</p> |
