Loading...

text-wrap

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.

CSS class prefixes and related properties

Class name prefixCSS properties
tex-wra-*text-wrap

CSS class suffixes and property values

Class name suffixCSS properties value
*-wrapwrap
*-nowrapnowrap
*-balancebalance
*-inheritinherit
*-initialinitial
*-revertrevert
*-unsetunset

tex-wra: text-wrap

.tex-wra-wrap.tex-wra-wrap-hover.tex-wra-nowrap.tex-wra-nowrap-hover.tex-wra-balance.tex-wra-balance-hover.tex-wra-inherit.tex-wra-inherit-hover.tex-wra-initial.tex-wra-initial-hover.tex-wra-revert.tex-wra-revert-hover.tex-wra-unset.tex-wra-unset-hover
.tex-wra-wrap {
  text-wrap: wrap;
}
© Cssville 2026
Hosted by Vercel.Protected by Cloudback.