Skip to main content
Figuration v3 Preview Available!
Utilities

Dozens of utility classes with a single purpose designed to reduce the frequency of highly repetitive declarations in your CSS while allowing for quick and easy development.

Responsive Floats

These utility classes float an element to the left or right, or disable floating, based on the current viewport size using the CSS float property. !important is included to avoid specificity issues. These use the same viewport width breakpoints as the grid system.

Float left on all viewport sizes

Float right on all viewport sizes

Don't float on all viewport sizes

Float right on viewports sized SM (small) or wider

Float right on viewports sized MD (medium) or wider

Float right on viewports sized LG (large) or wider

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

<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><br>

<div class="float-sm-right">Float right on viewports sized SM (small) or wider</div><br>
<div class="float-md-right">Float right on viewports sized MD (medium) or wider</div><br>
<div class="float-lg-right">Float right on viewports sized LG (large) or wider</div><br>
<div class="float-xl-right">Float right on viewports sized XL (extra-large) or wider</div><br>
// Related simple non-responsive mixins
.element {
  @include float-left;
}
.another-element {
  @include float-right;
}
.unfloated-element {
  @include float-none;
}