aboutsummaryrefslogtreecommitdiff
path: root/docs/components/utilities.md
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-02-07 03:00:59 -0800
committerChris Rebert <[email protected]>2016-02-07 03:00:59 -0800
commit8dfd30cc21dd7b2efbe0dbe79f99616f480b79da (patch)
treeef2c7b54fcca921eb4b529c1f977d24f488acf37 /docs/components/utilities.md
parent6dee16ca90982b888fadd8070a0951b262612e3c (diff)
downloadbootstrap-8dfd30cc21dd7b2efbe0dbe79f99616f480b79da.tar.xz
bootstrap-8dfd30cc21dd7b2efbe0dbe79f99616f480b79da.zip
Docs: Add "Horizontal centering" subheading for .m-x-auto
Refs #19102 [skip sauce]
Diffstat (limited to 'docs/components/utilities.md')
-rw-r--r--docs/components/utilities.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/components/utilities.md b/docs/components/utilities.md
index e59869fcd..b67221119 100644
--- a/docs/components/utilities.md
+++ b/docs/components/utilities.md
@@ -60,7 +60,8 @@ Here are some representative examples of these classes:
}
{% endhighlight %}
-Additionally, Bootstrap also includes an `.m-x-auto` class for centering fixed-width block level content by setting the horizontal margins to `auto`.
+### Horizontal centering
+Additionally, Bootstrap also includes an `.m-x-auto` class for horizontally centering fixed-width block level content by setting the horizontal margins to `auto`.
<div class="bd-example">
<div class="m-x-auto" style="width: 200px; background-color: rgba(86,61,124,.15);">
@@ -69,7 +70,7 @@ Additionally, Bootstrap also includes an `.m-x-auto` class for centering fixed-w
</div>
{% highlight html %}
-<div class="m-x-auto" style="width: 200px;"">
+<div class="m-x-auto" style="width: 200px;">
Centered element
</div>
{% endhighlight %}