diff options
| author | Quy <[email protected]> | 2016-12-31 16:12:28 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-12-31 16:39:42 -0800 |
| commit | ff8d28cf2501773ff6f7833865c8e2b2ebb76a3f (patch) | |
| tree | 2287ed2a05f061cd80630e263746e03c8a321c1f /docs/layout/grid.md | |
| parent | bccb8ce21300f8da0bfefe1fdde9ab9d87994769 (diff) | |
| download | bootstrap-ff8d28cf2501773ff6f7833865c8e2b2ebb76a3f.tar.xz bootstrap-ff8d28cf2501773ff6f7833865c8e2b2ebb76a3f.zip | |
Move .table-responsive from wrapper to .table
Diffstat (limited to 'docs/layout/grid.md')
| -rw-r--r-- | docs/layout/grid.md | 142 |
1 files changed, 70 insertions, 72 deletions
diff --git a/docs/layout/grid.md b/docs/layout/grid.md index 056561b27..d0f5b2326 100644 --- a/docs/layout/grid.md +++ b/docs/layout/grid.md @@ -57,78 +57,76 @@ While Bootstrap uses `em`s or `rem`s for defining most sizes, `px`s are used for See how aspects of the Bootstrap grid system work across multiple devices with a handy table. -<div class="table-responsive"> - <table class="table table-bordered table-striped"> - <thead> - <tr> - <th></th> - <th class="text-center"> - Extra small<br> - <small><576px</small> - </th> - <th class="text-center"> - Small<br> - <small>≥576px</small> - </th> - <th class="text-center"> - Medium<br> - <small>≥768px</small> - </th> - <th class="text-center"> - Large<br> - <small>≥992px</small> - </th> - <th class="text-center"> - Extra large<br> - <small>≥1200px</small> - </th> - </tr> - </thead> - <tbody> - <tr> - <th class="text-nowrap" scope="row">Grid behavior</th> - <td>Horizontal at all times</td> - <td colspan="4">Collapsed to start, horizontal above breakpoints</td> - </tr> - <tr> - <th class="text-nowrap" scope="row">Max container width</th> - <td>None (auto)</td> - <td>540px</td> - <td>720px</td> - <td>960px</td> - <td>1140px</td> - </tr> - <tr> - <th class="text-nowrap" scope="row">Class prefix</th> - <td><code>.col-</code></td> - <td><code>.col-sm-</code></td> - <td><code>.col-md-</code></td> - <td><code>.col-lg-</code></td> - <td><code>.col-xl-</code></td> - </tr> - <tr> - <th class="text-nowrap" scope="row"># of columns</th> - <td colspan="5">12</td> - </tr> - <tr> - <th class="text-nowrap" scope="row">Gutter width</th> - <td colspan="5">30px (15px on each side of a column)</td> - </tr> - <tr> - <th class="text-nowrap" scope="row">Nestable</th> - <td colspan="5">Yes</td> - </tr> - <tr> - <th class="text-nowrap" scope="row">Offsets</th> - <td colspan="5">Yes</td> - </tr> - <tr> - <th class="text-nowrap" scope="row">Column ordering</th> - <td colspan="5">Yes</td> - </tr> - </tbody> - </table> -</div> +<table class="table table-bordered table-striped table-responsive"> + <thead> + <tr> + <th></th> + <th class="text-center"> + Extra small<br> + <small><576px</small> + </th> + <th class="text-center"> + Small<br> + <small>≥576px</small> + </th> + <th class="text-center"> + Medium<br> + <small>≥768px</small> + </th> + <th class="text-center"> + Large<br> + <small>≥992px</small> + </th> + <th class="text-center"> + Extra large<br> + <small>≥1200px</small> + </th> + </tr> + </thead> + <tbody> + <tr> + <th class="text-nowrap" scope="row">Grid behavior</th> + <td>Horizontal at all times</td> + <td colspan="4">Collapsed to start, horizontal above breakpoints</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Max container width</th> + <td>None (auto)</td> + <td>540px</td> + <td>720px</td> + <td>960px</td> + <td>1140px</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Class prefix</th> + <td><code>.col-</code></td> + <td><code>.col-sm-</code></td> + <td><code>.col-md-</code></td> + <td><code>.col-lg-</code></td> + <td><code>.col-xl-</code></td> + </tr> + <tr> + <th class="text-nowrap" scope="row"># of columns</th> + <td colspan="5">12</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Gutter width</th> + <td colspan="5">30px (15px on each side of a column)</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Nestable</th> + <td colspan="5">Yes</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Offsets</th> + <td colspan="5">Yes</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Column ordering</th> + <td colspan="5">Yes</td> + </tr> + </tbody> +</table> ## Auto-layout columns |
