]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: Add "Horizontal centering" subheading for .m-x-auto 19112/head
authorChris Rebert <github@chrisrebert.com>
Sun, 7 Feb 2016 11:00:59 +0000 (03:00 -0800)
committerChris Rebert <github@chrisrebert.com>
Sun, 7 Feb 2016 11:00:59 +0000 (03:00 -0800)
Refs #19102
[skip sauce]

docs/components/utilities.md

index e59869fcd575202a7a00181a66fe8db018d9ea52..b67221119afec4a745a70944b6601b1e2ac1a8c7 100644 (file)
@@ -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 %}