aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-11-14 19:47:55 -0800
committerMark Otto <[email protected]>2015-11-14 19:47:55 -0800
commitc0f6e1c70e24bd5878c33621cfc563e5b77b72bc (patch)
tree6163be9a2cdfee046c474ebf80602a066c481747 /docs/_includes/css
parent8248b9e21034cfb56bb83402a969aa94e175b14f (diff)
parent087d16d21a75bedafbf84fce3ba264b4dc82b1d7 (diff)
downloadbootstrap-c0f6e1c70e24bd5878c33621cfc563e5b77b72bc.tar.xz
bootstrap-c0f6e1c70e24bd5878c33621cfc563e5b77b72bc.zip
Merge pull request #18251 from twbs/mdo-patch-1
Document offset-0 col classes
Diffstat (limited to 'docs/_includes/css')
-rw-r--r--docs/_includes/css/grid.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_includes/css/grid.html b/docs/_includes/css/grid.html
index 5b14dd7d1..46ed46627 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>.col-*-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>