in English
Text Ofkierzung
Truncate laang Saiten vum Text mat enger Ellipsis.
Fir méi laang Inhalter kënnt Dir eng .text-truncate
Klass addéieren fir den Text mat enger Ellipsis ze truncéieren. Verlaangt display: inline-block
oder display: block
.
Dësen Text ass zimmlech laang, a gëtt ofgeschnidden eemol ugewisen.
<!-- 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>