diff options
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md')
-rw-r--r-- | vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md b/vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md deleted file mode 100644 index 799f2059b..000000000 --- a/vendor/twbs/bootstrap/site/content/docs/5.1/helpers/text-truncation.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: docs -title: Text truncation -description: Truncate long strings of text with an ellipsis. -group: helpers -toc: 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 >}} -<!-- Block level --> -<div class="row"> - <div class="col-2 text-truncate"> - This text is quite long, and will be truncated once displayed. - </div> -</div> - -<!-- Inline level --> -<span class="d-inline-block text-truncate" style="max-width: 150px;"> - This text is quite long, and will be truncated once displayed. -</span> -{{< /example >}} |