Answers for "align in bootstrap"

41

bootstrap 4 center div

<div class="d-flex justify-content-start">...</div>
<div class="d-flex justify-content-end">...</div>
<div class="d-flex justify-content-center">...</div>
<div class="d-flex justify-content-between">...</div>
<div class="d-flex justify-content-around">...</div>
Posted by: Guest on February-23-2020
2

bootstrap text center in div

<!-- recommended method -->
<div class="col-xs-1 text-center">
Posted by: Guest on November-19-2020

Browse Popular Code Answers by Language