mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
8f7bd41993
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
1.3 KiB
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 |