Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 622 Bytes

text-truncation.md

File metadata and controls

23 lines (20 loc) · 622 Bytes
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 >}}

Yeah, we maxed our credit cards and got kicked out.
Yeah, we maxed our credit cards and got kicked out. {{< /example >}}