Syntax

text-decoration-style

Setting the style of the decoration line that is used on text.

Overview

ClassDeclarations
text-decoration-style:`style`text-decoration-style: `style`;
text-decoration:dashedtext-decoration-style: dashed;
text-decoration:dottedtext-decoration-style: dotted;
text-decoration:doubletext-decoration-style: double;
text-decoration:solidtext-decoration-style: solid;
text-decoration:wavytext-decoration-style: wavy;

Apply conditionally

Apply styles based on different states using selectors and conditional queries.

<div class="text-decoration-style:solid:hover text-decoration-style:solid@sm text-decoration-style:solid@dark text-decoration-style:solid@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy