Add text-wrap example.
This commit is contained in:
parent
cbc859ad8d
commit
366bc88523
1 changed files with 9 additions and 0 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue