Float

Toggle floats on any element, across any breakpoint, using our responsive float utilities.


Class
Properties
float-start
float-end
float-none

Usage

Change the border color using utilities built on our theme colors.. Use the .border-{color} to set the border color on any element:

Float start on all viewport sizes

Float end on all viewport sizes

Don't float on all viewport sizes
<div class="float-start">Float start on all viewport sizes</div><br>
<div class="float-end">Float end 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. Use the .float-{breakpoint}-{value} for sm, md, lg, xl, and xxl to any existing float utility.

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