justify left bootstrap code example

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

Example 2: bootstrap content alignment

<div class="d-flex p-2">I'm a flexbox container!</div>

Example 3: bootstrap content alignment

<div class="d-inline-flex p-2">I'm an inline flexbox container!</div>

Tags:

Html Example