layout: docs title: Text truncation description: Truncate long strings of text with an ellipsis. group: helpers
For longer content, you can add a .text-truncate
class to truncate the text with an ellipsis. Requires display: inline-block
or display: block
.
{{< example >}}
Praeterea iter est quasdam res quas ex communi.
Praeterea iter est quasdam res quas ex communi. {{< /example >}}