bootstrap style for align left o center code example

Example 1: bootstrap nowrap

<div class="text-nowrap" style="width: 8rem;">
  This text should overflow the parent.
</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:

Html Example