aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-09-28 15:46:14 +0200
committerMax Kostikov <max@kostikov.co>2018-09-28 15:46:14 +0200
commit4a904fa3a8af1c101ede76657249fb7eb47faf60 (patch)
tree544509813fb68579ef2b556ce879a971d183269a /vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md
parentf5f6ec3d71acb3e0488386819d5060e59331ec23 (diff)
parentc13d7e29ef9676b0f0e4ae23aa52e203f4ad8895 (diff)
downloadvolse-hubzilla-4a904fa3a8af1c101ede76657249fb7eb47faf60.tar.gz
volse-hubzilla-4a904fa3a8af1c101ede76657249fb7eb47faf60.tar.bz2
volse-hubzilla-4a904fa3a8af1c101ede76657249fb7eb47faf60.zip
Merge branch 'patch-29' into 'dev'
Patch 29 See merge request Kostikov/core!3
Diffstat (limited to 'vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md')
-rw-r--r--vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md b/vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md
new file mode 100644
index 000000000..bc4f0b950
--- /dev/null
+++ b/vendor/twbs/bootstrap/site/docs/4.1/utilities/vertical-align.md
@@ -0,0 +1,40 @@
+---
+layout: docs
+title: Vertical alignment
+description: Easily change the vertical alignment of inline, inline-block, inline-table, and table cell elements.
+group: utilities
+---
+
+Change the alignment of elements with the [`vertical-alignment`](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align) utilities. Please note that vertical-align only affects inline, inline-block, inline-table, and table cell elements.
+
+Choose from `.align-baseline`, `.align-top`, `.align-middle`, `.align-bottom`, `.align-text-bottom`, and `.align-text-top` as needed.
+
+With inline elements:
+
+{% capture example %}
+<span class="align-baseline">baseline</span>
+<span class="align-top">top</span>
+<span class="align-middle">middle</span>
+<span class="align-bottom">bottom</span>
+<span class="align-text-top">text-top</span>
+<span class="align-text-bottom">text-bottom</span>
+{% endcapture %}
+{% include example.html content=example %}
+
+With table cells:
+
+{% capture example %}
+<table style="height: 100px;">
+ <tbody>
+ <tr>
+ <td class="align-baseline">baseline</td>
+ <td class="align-top">top</td>
+ <td class="align-middle">middle</td>
+ <td class="align-bottom">bottom</td>
+ <td class="align-text-top">text-top</td>
+ <td class="align-text-bottom">text-bottom</td>
+ </tr>
+ </tbody>
+</table>
+{% endcapture %}
+{% include example.html content=example %}