2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Fixes #21123: More specific definition of fixed-width block level for .mx-auto

This commit is contained in:
Mark Otto
2016-11-23 11:28:17 -08:00
parent ab54151ed3
commit 8d3f0995d1
+1 -1
View 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);">