Text

Text Decoration

Style syntax for setting the appearance of decorative lines on text.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
text-decoration:line|color|style|thicknesstext-decoration: line color style thickness
text:underlinetext-decoration-line: underline
text:line-throughtext-decoration-line: line-through
text:overlinetext-decoration-line: overline

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="text-decoration:underline:hover text-decoration:underline@sm text-decoration:underline@dark text-decoration:underline@print"></div>
PREVIOUS
Text Align

Style syntax for setting the text alignment of an element.

NEXT
Text Decoration Color

Style syntax for setting the color of decorative lines on text.

MIT License © Aoyue Design LLC.