語法

文字換行text-wrap

Controlling how text inside an element is wrapped.

Overview

ClassDeclarations
text-wrap:valuetext-wrap: value;
text:wraptext-wrap: wrap;
text:nowraptext-wrap: nowrap;
text:balancetext-wrap: balance;
text:prettytext-wrap: pretty;

Conditionally apply

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

<div class="text:balance:hover text:balance@sm text:balance@dark text:balance@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy