Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site/docs
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-11-04 14:33:57 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-04 16:55:17 +0300
commit366bc885231b9d1df5906782ba4660ba4503f82b (patch)
tree7bc24fdbe56de962eef2a706e6e391aa6de02545 /site/docs
parentcbc859ad8d9c323037a04b188b6faae166a0ba51 (diff)
Add `text-wrap` example.
Diffstat (limited to 'site/docs')
-rw-r--r--site/docs/4.1/utilities/text.md9
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 %}