Syntax

text-decoration-thickness

Setting thickness of the decoration line.

Overview

ClassDeclarations
text-decoration-thickness:sizetext-decoration-thickness: size/16em;
text-decoration:from-fonttext-decoration-thickness: from-font;

Conditionally apply

Apply styles based on different states using selectors and applying conditionally.

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

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy