diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-11-04 14:33:57 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-11-04 16:55:17 +0300 |
commit | 366bc885231b9d1df5906782ba4660ba4503f82b (patch) | |
tree | 7bc24fdbe56de962eef2a706e6e391aa6de02545 /site/docs/4.1 | |
parent | cbc859ad8d9c323037a04b188b6faae166a0ba51 (diff) |
Add `text-wrap` example.
Diffstat (limited to 'site/docs/4.1')
-rw-r--r-- | site/docs/4.1/utilities/text.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/site/docs/4.1/utilities/text.md b/site/docs/4.1/utilities/text.md index 25e72bc8f5..0072775324 100644 --- a/site/docs/4.1/utilities/text.md +++ b/site/docs/4.1/utilities/text.md @@ -31,6 +31,15 @@ For left, right, and center alignment, responsive classes are available that use ## Text wrapping and overflow +Wrap text with a `.text-wrap` class. + +{% capture example %} +<div class="text-wrap bd-highlight" style="width: 6rem;"> + This text should wrap. +</div> +{% endcapture %} +{% include example.html content=example %} + Prevent text from wrapping with a `.text-nowrap` class. {% capture example %} |