Introduction
CSS Classes
React Components
Cssville has 7 utility classes for float. Add one to an element's class attribute to set the property, for example flo-left. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-flo-left. Add -hover to the end to apply a class only on hover, as in flo-left-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| flo-* | float |
| Class name suffix | CSS properties value |
|---|---|
| *-left | left |
| *-right | right |
| *-none | none |
| *-inherit | inherit |
| *-initial | initial |
| *-revert | revert |
| *-unset | unset |
.flo-left {
float: left;
}