Utilities for controlling the wrapping of content around an element.
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 breakpoints as our grid system. Please be aware float utilities have no effect on flex items.
Responsive variations also exist for each float
value.
All the supported classes
.nsw-float-left
.nsw-float-right
.nsw-float-none
.nsw-float-sm-left
.nsw-float-sm-right
.nsw-float-sm-none
.nsw-float-md-left
.nsw-float-md-right
.nsw-float-md-none
.nsw-float-lg-left
.nsw-float-lg-right
.nsw-float-lg-none
.nsw-float-xl-left
.nsw-float-xl-right
.nsw-float-xl-none