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