diff options
| author | Starsam80 <[email protected]> | 2016-11-27 23:47:00 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-11-27 22:47:00 -0800 |
| commit | 08e36a3cc9f88077806efb5c69f02e1ca6e0b449 (patch) | |
| tree | b78496d75b5479760751e367175da3692db9712a /docs/layout/grid.md | |
| parent | 4393da18f60d9d99a32b8382d33085dc4229e250 (diff) | |
| download | bootstrap-08e36a3cc9f88077806efb5c69f02e1ca6e0b449.tar.xz bootstrap-08e36a3cc9f88077806efb5c69f02e1ca6e0b449.zip | |
Rename `.col-xs` to `.col` + some other cleanup (#21222)
* Use `breakpoint-min` instead of a counter
* Remove 'xs' from flexbox grid
Diffstat (limited to 'docs/layout/grid.md')
| -rw-r--r-- | docs/layout/grid.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/layout/grid.md b/docs/layout/grid.md index 8de8ccf46..68d7f7020 100644 --- a/docs/layout/grid.md +++ b/docs/layout/grid.md @@ -100,7 +100,7 @@ See how aspects of the Bootstrap grid system work across multiple devices with a </tr> <tr> <th class="text-nowrap" scope="row">Class prefix</th> - <td><code>.col-xs-</code></td> + <td><code>.col-</code></td> <td><code>.col-sm-</code></td> <td><code>.col-md-</code></td> <td><code>.col-lg-</code></td> @@ -329,7 +329,7 @@ Using a single set of `.col-md-*` grid classes, you can create a basic grid syst ### Example: Mobile and desktop -Don't want your columns to simply stack in smaller devices? Use the extra small and medium device grid classes by adding `.col-xs-*` and `.col-md-*` to your columns. 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-*` and `.col-md-*` to your columns. See the example below for a better idea of how it all works. <div class="bd-example-row"> {% example html %} @@ -385,6 +385,7 @@ Here's the source code for creating these styles. Note that column overrides are margin-right: 0; margin-left: 0; + > .col, > [class*="col-"] { padding-right: 0; padding-left: 0; |
