bootstrap text vertical center in div code example
Example 1: bootstrap center text vertically
<div class=”row”>
<div class=”col-6 align-self-center”>
<div class=”card card-block”>
Center
</div>
</div>
</div>
Example 2: bootstrap div vertical center
<div class="jumbotron d-flex align-items-center min-vh-100">
<div class="container text-center">
I am centered vertically
</div>
</div>