in English
Upunguzaji wa maandishi
Punguza mifuatano mirefu ya maandishi kwa ellipsis.
Kwa maudhui marefu, unaweza kuongeza .text-truncate
darasa ili kupunguza maandishi kwa duaradufu. Inahitaji display: inline-block
au display: block
.
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>