in English
Kokata makomi
Kata bansinga milai ya makomi na ellipse.
Mpo na makambo ya molai, okoki kobakisa .text-truncate
kelasi mpo na kokata makomi na ellipse. Esɛngaka display: inline-block
to display: block
.
Mokanda oyo ezali mpenza molai, mpe ekokatama mbala moko emonisami.
<!-- 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>