Answers for "how to vertically align div in bootstrap 4"

0

bootstrap center text vertically

<div class=”row”>
	<div class=”col-6 align-self-center”>
    	<div class=”card card-block”>
    		Center
        </div>
    </div>
</div>
Posted by: Guest on April-23-2020
-1

vertical center bootstrap

<div class="container h-100">
    <div class="row align-items-center h-100">
        <div class="col-6 mx-auto">
            <div class="jumbotron">
                I'm vertically centered
            </div>
        </div>
    </div>
</div>
Posted by: Guest on August-13-2021
3

how to center vertically in bootstrap col

<div class="my-auto">
  ...inner divs and content...
</div>
Posted by: Guest on July-04-2020

Code answers related to "how to vertically align div in bootstrap 4"

Browse Popular Code Answers by Language