diff --git a/_includes/nav-css.html b/_includes/nav-css.html index e363df52b3..f5226ec5e6 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -20,7 +20,7 @@
  • Ex: Stacked-to-horizonal
  • Ex: Mobile-desktop
  • Ex: Mobile, tablet, desktop
  • -
  • Responsive column clearing
  • +
  • Responsive column resets
  • Offset columns
  • Nested columns
  • Column ordering
  • diff --git a/css.html b/css.html index 64751da930..2b2ffc2349 100644 --- a/css.html +++ b/css.html @@ -322,7 +322,7 @@ base_url: "../"

    More grid examples

    -

    Responsive column clearing

    +

    Responsive column resets

    With the four tiers of grids available you're bound to run into issues where, at certain breakpoints, your columns don't clear quite right as one is taller than the other. To fix that, use a combination of a .clearfix and our responsive utility classes.

    {% highlight html %}
    @@ -336,6 +336,19 @@ base_url: "../"
    .col-xs-6 .col-sm-3
    {% endhighlight %} +

    In addition to column clearing at responsive breakpoints, you may need to reset offsets, pushes, or pulls. Those resets are available for medium and large grid tiers only, since they start only at the (second) small grid tier.

    +{% highlight html %} +
    +
    .col-sm-5 .col-md-6
    +
    .col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0
    +
    + +
    +
    .col-sm-6 .col-md-5 .col-lg-6
    +
    .col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0
    +
    +{% endhighlight %} +

    Offsetting columns

    Move columns to the right using .col-md-offset-* classes. These classes increase the left margin of a column by * columns. For example, .col-md-offset-4 moves .col-md-4 over four columns.