Skip to main content

Text Decoration

Utilities to set text-decoration properties.

Usage

Particle defines enums to underline text or remove text decoration.

info

Note that these utility classes set the shorthand property, which includes text-decoration-line, text-decoration-style, text-decoration-color, and text-decoration-thickness. If you are applying these utility classes to an element that has one of those long-hand text decoration properties set, you may run into specificity issues depending on how and where those selectors are defined.

text-decoration--underline

text-decoration--none