Float

Classes

Toggle a float with a class:

Float right on all viewport sizes

Float left on all viewport sizes

Don't float on all viewport sizes
<div class="float-right">Float right on all viewport sizes</div><br>
<div class="float-left">Float left on all viewport sizes</div><br>
<div class="float-none">Don't float on all viewport sizes</div>

Responsive

Responsive variations also exist for each float value.

Float left on viewports sized SM (small) or wider

Float left on viewports sized MD (medium) or wider

Float left on viewports sized LG (large) or wider

Float left on viewports sized XL (extra-large) or wider

<div class="float-sm-left">Float left on viewports sized SM (small) or wider</div><br>
<div class="float-md-left">Float left on viewports sized MD (medium) or wider</div><br>
<div class="float-lg-left">Float left on viewports sized LG (large) or wider</div><br>
<div class="float-xl-left">Float left on viewports sized XL (extra-large) or wider</div><br>