0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/docs/utilities/vertical-align.md
2016-10-18 19:31:47 -07:00

1.1 KiB

layout title group
docs Vertical alignment 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:

{% example html %} baseline top middle bottom text-top text-bottom {% endexample %}

With table cells:

{% example html %}

baseline top middle bottom text-top text-bottom
{% endexample %}