Vertical alignment · Bootstrap | text-justify bootstrap 4
![Vertical alignment · Bootstrap](https://i.imgur.com/axBPWDg.jpg)
Easilychangetheverticalalignmentofinline,inline-block,inline-table,andtablecellelements.Changethealignmentofelementswiththevertical-alignment[1]utilities.Pleasenotethatvertical-alignonlyaffectsinline,inline-block,inline-table,andtablecellelements.Choosefrom.align-baseline,.align-top,.align-middle,.align-bottom,.align-text-bottom,and.align-text-topasneeded.Withinlineelements:baselinetopmiddlebottomtext-toptext-bottom
![Vertical alignment · Bootstrap](http://pix4.agoda.net/hotelimages/4172139/0/24097f8fc1c9959ea5062e8d6497eaad.jpg?s=800x)
Easily change the vertical alignment of inline, inline-block, inline-table, and table cell elements.
Change the alignment of elements with the vertical-alignment[1] 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:
baseline top middle bottom text-top text-bottom
<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>With table cells:
baseline top middle bottom text-top text-bottom <tabl...取得本站獨家住宿推薦 15%OFF 訂房優惠
本站住宿推薦 20%OFF 訂房優惠,親子優惠,住宿折扣,限時回饋,平日促銷
Text · Bootstrap | text-justify bootstrap 4
Text · Bootstrap v4.6 | text-justify bootstrap 4
Text · Bootstrap v4.5 | text-justify bootstrap 4
Text · Bootstrap v5.0 | text-justify bootstrap 4
Bootstrap 4 Flex | text-justify bootstrap 4
Vertical alignment · Bootstrap | text-justify bootstrap 4
Bootstrap 4 TextTypography | text-justify bootstrap 4
![](https://i.imgur.com/axBPWDg.jpg)