diff options
| author | XhmikosR <[email protected]> | 2018-11-04 13:33:57 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-11-04 15:55:17 +0200 |
| commit | 366bc885231b9d1df5906782ba4660ba4503f82b (patch) | |
| tree | 7bc24fdbe56de962eef2a706e6e391aa6de02545 | |
| parent | cbc859ad8d9c323037a04b188b6faae166a0ba51 (diff) | |
| download | bootstrap-366bc885231b9d1df5906782ba4660ba4503f82b.tar.xz bootstrap-366bc885231b9d1df5906782ba4660ba4503f82b.zip | |
Add `text-wrap` example.
| -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 25e72bc8f..007277532 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 %} |
