]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #17003
authorMark Otto <markd.otto@gmail.com>
Sun, 15 Nov 2015 03:39:28 +0000 (19:39 -0800)
committerMark Otto <markd.otto@gmail.com>
Sun, 15 Nov 2015 03:39:28 +0000 (19:39 -0800)
docs/_includes/css/grid.html

index 5b14dd7d12b572136ce5b9afc35a79d9a681303f..ad8b6761576ea61107c351abdd985f49dd1b5147 100644 (file)
 </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>