Twe kɔ emu nsɛm atitiriw no so Twe kɔ docs navigation so
Check
in English

Nsɛm a wɔatwa no tiaa

Fa ellipsis twa nkyerɛwee nhama atenten no mu.

Sɛ wopɛ nsɛm a ɛware a, wubetumi de .text-truncateadesuakuw bi aka ho de atwa nkyerɛwee no mu denam ellipsis so. Ɛhwehwɛ sɛ display: inline-blockanaasɛ display: block.

Saa nkyerɛwee yi tenten yiye, na sɛ wɔada no adi pɛ a, wɔbɛtwa mu.
Saa nkyerɛwee yi tenten yiye, na sɛ wɔada no adi pɛ a, wɔbɛtwa mu.
html na ɛwɔ hɔ
<!-- 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>