mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 04:41:36 +02:00
Add text-wrap
example.
This commit is contained in:
@@ -31,6 +31,15 @@ For left, right, and center alignment, responsive classes are available that use
|
|||||||
|
|
||||||
## Text wrapping and overflow
|
## 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.
|
Prevent text from wrapping with a `.text-nowrap` class.
|
||||||
|
|
||||||
{% capture example %}
|
{% capture example %}
|
||||||
|
Reference in New Issue
Block a user