diff options
| author | Mark Otto <[email protected]> | 2016-11-23 11:28:17 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-11-23 11:28:17 -0800 |
| commit | 8d3f0995d12e11ba440d8bb03799f3f1349aec57 (patch) | |
| tree | 667180989a6513213b149425e35f3e9336048fc0 /docs | |
| parent | ab54151ed3faa9b27c6a9227a9bcb667719e1c5c (diff) | |
| download | bootstrap-8d3f0995d12e11ba440d8bb03799f3f1349aec57.tar.xz bootstrap-8d3f0995d12e11ba440d8bb03799f3f1349aec57.zip | |
Fixes #21123: More specific definition of fixed-width block level for .mx-auto
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/utilities/spacing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/utilities/spacing.md b/docs/utilities/spacing.md index 53a6ab538..91dab4f02 100644 --- a/docs/utilities/spacing.md +++ b/docs/utilities/spacing.md @@ -62,7 +62,7 @@ Here are some representative examples of these classes: {% endhighlight %} ### Horizontal centering -Additionally, Bootstrap also includes an `.mx-auto` class for horizontally centering fixed-width block level content by setting the horizontal margins to `auto`. +Additionally, Bootstrap also includes an `.mx-auto` class for horizontally centering fixed-width block level content—that is, content that has `display: block` and a `width` set—by setting the horizontal margins to `auto`. <div class="bd-example"> <div class="mx-auto" style="width: 200px; background-color: rgba(86,61,124,.15);"> |
