in English
Text truncation
Truncate awọn gbolohun ọrọ gigun pẹlu ellipsis.
Fun akoonu to gun, o le ṣafikun .text-truncate
kilasi kan lati ge ọrọ naa pẹlu ellipsis. Nbeere display: inline-block
tabi display: block
.
Praeterea iter est quasdam res quas ex communi.
<!-- Block level -->
<div class="row">
<div class="col-2 text-truncate">
Praeterea iter est quasdam res quas ex communi.
</div>
</div>
<!-- Inline level -->
<span class="d-inline-block text-truncate" style="max-width: 150px;">
Praeterea iter est quasdam res quas ex communi.
</span>