diff --git a/_layouts/default.html b/_layouts/default.html index 336eb85752..d254f2e4fe 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,7 +25,7 @@
.col-
.col-xs
.col-sm-
.col-lg-
.col-md-
.col-lg-
Using a single set of grid classes, you can create a basic grid system that starts out stacked on mobile and tablet devices before becoming horizontal on desktop devices.
+Using a single set of .col-md-*
grid classes, you can create a basic grid system that starts out stacked on mobile devices and tablet devices (the extra small to small range) before becoming horizontal on desktop (medium) devices.
Don't want your columns to simply stack in smaller devices? Use the small device grid system by adding .col-*
classes to the existing .col-lg-*
ones. See the example below for a better idea of how it all works.
Don't want your columns to simply stack in smaller devices? Use the extra small and medium device grid classes by adding .col-xs-*
.col-md-*
to your columns. See the example below for a better idea of how it all works.
Build on the previous example by creating even more dynamic and powerful layouts with tablet .col-sm-*
classes.
Move columns to the right using .col-lg-offset-*
classes. These classes increase the left margin of a column by *
columns. For example, .col-lg-offset-4
moves .col-lg-4
over four 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.
To nest your content with the default grid, add a new .row
and set of .col-lg-*
columns within an existing .col-lg-*
column. Nested rows should include a set of columns that add up to 12.
To nest your content with the default grid, add a new .row
and set of .col-md-*
columns within an existing .col-md-*
column. Nested rows should include a set of columns that add up to 12.
Easily change the order of our built-in grid columns with .col-lg-push-*
and .col-lg-pull-*
modifier classes.
Easily change the order of our built-in grid columns with .col-md-push-*
and .col-md-pull-*
modifier classes.
<section>
should be wrapped as inline.
+ | + Extra small devices + Phones (<768px) + | ++ Small devices + Tablets (>768px) + | ++ Medium devices + Desktops (>992px) + | ++ Large devices + Desktops (>1200px) + | +
---|---|---|---|---|
.visible-xs |
+ Visible | +Hidden | +Hidden | +Hidden | +
.visible-sm |
+ Hidden | Visible | Hidden | Hidden | @@ -2031,6 +2061,7 @@ For example,
.visible-md |
Hidden | +Hidden | Visible | Hidden | .visible-lg |
Hidden | Hidden | +Hidden | +Visible | + + + +
.hidden-xs |
+ Hidden | +Visible | +Visible | Visible |
.hidden-sm |
+ Visible | Hidden | Visible | Visible | @@ -2049,6 +2091,7 @@ For example,
.hidden-md |
Visible | +Visible | Hidden | Visible | .hidden-lg |
Visible | Visible | +Visible | Hidden | @@ -2094,35 +2138,43 @@ For example,