1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00
Files
bootstrap/site/content/docs/5.3/helpers/text-truncation.md
XhmikosR cf9454caa0 Release v5.3.0-alpha1 (#37661)
* Bump version to 5.3.0-alpha1

* Dist

* Add docs versions updates

* Update note in homepage hero

Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-24 18:37:22 +02:00

644 B

layout, title, description, group, toc
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 >}}