Syntax
text-overflow
Handling how hidden overflow content.
Overview
Class | Declarations |
---|---|
text-overflow:`value` | text-overflow: `value`;
|
text:clip | text-overflow: clip;
|
text:ellipsis | text-overflow: ellipsis;
|
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="text-overflow:clip:hover text-overflow:clip@sm text-overflow:clip@dark text-overflow:clip@print">…</div>