in English
Rubutun rubutu
Yanke dogayen zaren rubutu tare da ellipsis.
Don dogon abun ciki, zaku iya ƙara .text-truncate
aji don datse rubutun tare da ellipsis. Ana bukata display: inline-block
ko display: block
.
Wannan rubutun yana da tsayi sosai, kuma za a yanke shi da zarar an nuna shi.
<!-- 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>