Loading...

text-decoration

Cssville has 7 utility classes for text-decoration. Add one to an element's class attribute to set the property, for example tex-dec-underline. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-tex-dec-underline. Add -hover to the end to apply a class only on hover, as in tex-dec-underline-hover. Getting started explains how class names are built.

CSS class prefixes and related properties

Class name prefixCSS properties
tex-dec-*text-decoration

CSS class suffixes and property values

Class name suffixCSS properties value
*-underlineunderline
*-overlineoverline
*-nonenone
*-inheritinherit
*-initialinitial
*-revertrevert
*-unsetunset

tex-dec: text-decoration

.tex-dec-underline.tex-dec-underline-hover.tex-dec-overline.tex-dec-overline-hover.tex-dec-none.tex-dec-none-hover.tex-dec-inherit.tex-dec-inherit-hover.tex-dec-initial.tex-dec-initial-hover.tex-dec-revert.tex-dec-revert-hover.tex-dec-unset.tex-dec-unset-hover
.tex-dec-underline {
  text-decoration: underline;
}
© Cssville 2026
Hosted by Vercel.Protected by Cloudback.