Tsallake zuwa babban abun ciki Tsallake zuwa kewayawa na takardu
Check
in English

Rubutun rubutu

Yanke dogayen zaren rubutu tare da ellipsis.

Don dogon abun ciki, zaku iya ƙara .text-truncateaji don datse rubutun tare da ellipsis. Ana bukata display: inline-blockko display: block.

Wannan rubutun yana da tsayi sosai, kuma za a yanke shi da zarar an nuna shi.
Wannan rubutun yana da tsayi sosai, kuma za a yanke shi da zarar an nuna shi.
html
<!-- 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>