in English
Tèks twonke
Tronke kòd long tèks ak yon elips.
Pou plis kontni, ou ka ajoute yon .text-truncate
klas pou tronpe tèks la ak yon elips. Egzije display: inline-block
oswa display: block
.
Tèks sa a se byen long, epi yo pral tronke yon fwa parèt.
<!-- 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>