]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #21123: More specific definition of fixed-width block level for .mx-auto
authorMark Otto <markdotto@gmail.com>
Wed, 23 Nov 2016 19:28:17 +0000 (11:28 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 23 Nov 2016 19:28:17 +0000 (11:28 -0800)
docs/utilities/spacing.md

index 53a6ab538a8ffa5841b32599533baf25bf25e535..91dab4f02d97ebf4e40623663a05da728e075746 100644 (file)
@@ -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);">