語法

單字換行word-break

Setting whether words should break.

Overview

ClassDeclarations
word-break:valueword-break: value;
word-break:normalword-break: normal;
word-break:break-allword-break: break-all;
word-break:keep-allword-break: keep-all;
break-wordword-break: break-word;

Conditionally apply

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

<div class="word-break:normal:hover word-break:normal@sm word-break:normal@dark word-break:normal@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy