float center bootstrap code example
Example 1: centralize div bootstrap
<div class="row align-items-center justify-content-center">
<div class="col">This will be centered vertically and horizontally</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>
Example 3: float in bootstrap
Toggle floats on any element, across any breakpoint, using our responsive float utilities.
<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>