0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/docs/4.1/utilities/vertical-align.md
Mark Otto 0e920ce3f4 Reorganize docs for easier deploys
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-07-11 23:30:46 -07: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 %}