diff options
| author | Chris Rebert <[email protected]> | 2016-02-07 13:18:59 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-02-07 13:18:59 -0800 |
| commit | 7cbbc6a07438e5455be6306031960336cd3397d6 (patch) | |
| tree | 74716faabbd565d31f98b663be77d7c34a2ac747 /docs | |
| parent | 1dc6e4c9e50298faa1e137ef98b3ee627a5cb6d0 (diff) | |
| parent | 8dfd30cc21dd7b2efbe0dbe79f99616f480b79da (diff) | |
| download | bootstrap-7cbbc6a07438e5455be6306031960336cd3397d6.tar.xz bootstrap-7cbbc6a07438e5455be6306031960336cd3397d6.zip | |
Merge pull request #19112 from twbs/m-x-auto-doc-centering
Docs: Add "Horizontal centering" subheading for .m-x-auto
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/components/utilities.md | 5 |
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 %} |
