Introduction
CSS Classes
React Components
Cssville has 4 utility classes for word-break. Add one to an element's class attribute to set the property, for example wor-bre-break-all. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-wor-bre-break-all. Add -hover to the end to apply a class only on hover, as in wor-bre-break-all-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| wor-bre-* | word-break |
| Class name suffix | CSS properties value |
|---|---|
| *-break-all | break-all |
| *-keep-all | keep-all |
| *-break-word | break-word |
| *-normal | normal |
.wor-bre-break-all {
word-break: break-all;
}