0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/site/content/docs/5.2/helpers/text-truncation.md
2022-05-13 19:44:01 +03:00

644 B

layout title description group toc
docs Text truncation Truncate long strings of text with an ellipsis. helpers false

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 >}}

This text is quite long, and will be truncated once displayed.
This text is quite long, and will be truncated once displayed. {{< /example >}}