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