Answers for "align right 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
8

bootstrap align right

To aligning div in bootstrap you can use bootstrap classes like
1. float-left
2. float-right
3. float-none

<div class="float-left">Float left on all viewport sizes</div><br>
<div class="float-right">Float right on all viewport sizes</div><br>
<div class="float-none">Don't float on all viewport sizes</div>
Posted by: Guest on April-14-2020

Browse Popular Code Answers by Language