0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add text-wrap example.

This commit is contained in:
XhmikosR 2018-11-04 13:33:57 +02:00
parent cbc859ad8d
commit 366bc88523

View File

@ -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 %}