Text Decoration

Utilities to change an element's text decoration styles.

Underline

Use d-td-underline to underline text.

Dotted

Use d-td-dotted to apply a dotted underline style to the text.

Line Through

Use d-td-line-through to apply a line through the text.

No Decorations

Use d-td-none to remove text decorations.

Hover

Use h:d-td-{n} to change an element's :hover state text decoration.

Focus

Use f:d-td-{n} to change an element's :focus and :focus-within state text decoration.

Focus Visible

Use fv:d-td-{n} to change an element's :focus-visible state text decoration [only when focused by keyboard].

Classes

Class
Output
.d-td-none text-decoration: none !important
.d-td-underline text-decoration: underline !important
.d-td-dotted text-decoration: underline dotted !important
.d-td-line-through text-decoration: line-through !important
.d-td-unset text-decoration: unset !important

Text Decoration documentation last updated Thursday, June 18, 2026