1<div class="d-flex align-items-start">...</div>
2<div class="d-flex align-items-end">...</div>
3<div class="d-flex align-items-center">...</div>
4<div class="d-flex align-items-baseline">...</div>
5<div class="d-flex align-items-stretch">...</div>
1<span class="align-baseline">baseline</span>
2<span class="align-top">top</span>
3<span class="align-middle">middle</span>
4<span class="align-bottom">bottom</span>
5<span class="align-text-top">text-top</span>
6<span class="align-text-bottom">text-bottom</span>
1<div class="jumbotron d-flex align-items-center min-vh-100">
2 <div class="container text-center">
3 I am centered vertically
4 </div>
5</div>
6
1<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>
1<div class="row h-100"> <div class="col-sm-12 my-auto"> <div class="card card-block w-25">Card</div> </div></div>