Ruka hadi kwa yaliyomo kuu Ruka hadi kwenye urambazaji wa hati
in English

Upunguzaji wa maandishi

Punguza mifuatano mirefu ya maandishi kwa ellipsis.

Kwa maudhui marefu, unaweza kuongeza .text-truncatedarasa ili kupunguza maandishi kwa duaradufu. Inahitaji display: inline-blockau display: block.

Maandishi haya ni marefu sana, na yatapunguzwa pindi yatakapoonyeshwa.
Maandishi haya ni marefu sana, na yatapunguzwa pindi yatakapoonyeshwa.
<!-- Block level -->
<div class="row">
  <div class="col-2 text-truncate">
    This text is quite long, and will be truncated once displayed.
  </div>
</div>

<!-- Inline level -->
<span class="d-inline-block text-truncate" style="max-width: 150px;">
  This text is quite long, and will be truncated once displayed.
</span>