Skip to di men tin dɛn we de insay Skip to doks nevigishɔn
Check
in English

Tekst trunkshɔn

Trunket lɔng string dɛn na tɛks wit ɛlipsis.

Fɔ mek yu gɛt lɔng kɔntinyu, yu kin ad wan .text-truncateklas fɔ kɔt di tɛks wit ɛlipsis. I nid fɔ gɛt display: inline-blockɔ display: block.

Dis tɛks rili lɔng, ɛn dɛn go kɔt am wans dɛn dɔn sho am.
Dis tɛks rili lɔng, ɛn dɛn go kɔt am wans dɛn dɔn sho am.
html na di pikchɔ
<!-- 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>