0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/docs/4.2/utilities/vertical-align.md
Mark Otto eda851ee76 Prep for v4.2.0 release
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00

1.3 KiB

layout title description group
docs Vertical alignment Easily change the vertical alignment of inline, inline-block, inline-table, and table cell elements. utilities

Change the alignment of elements with the vertical-alignment 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 %} baseline top middle bottom text-top text-bottom {% endcapture %} {% include example.html content=example %}

With table cells:

{% capture example %}

baseline top middle bottom text-top text-bottom
{% endcapture %} {% include example.html content=example %}