in English
Tekst ôfkoarting
Truncate lange snaren fan tekst mei in ellips.
Foar langere ynhâld kinne jo in .text-truncate
klasse tafoegje om de tekst mei in ellips te trunken. Fereasket display: inline-block
of display: block
.
Dizze tekst is frij lang en sil ienris werjûn wurde ôfkoarte.
<!-- 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>