bootstrap container align right code example

Example 1: bootstrap col center content

<div class="row">
    <div class="col-4 d-flex justify-content-center text-center">
        // for image and text
    </div>
</div>

Example 2: 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>

Tags:

Misc Example