mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Add docs for .text-break
This commit is contained in:
parent
353c8b4376
commit
f7bf353cdc
1 changed files with 9 additions and 0 deletions
|
@ -66,6 +66,15 @@ For longer content, you can add a `.text-truncate` class to truncate the text wi
|
|||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
## Word break
|
||||
|
||||
Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-break: break-word`.
|
||||
|
||||
{% capture example %}
|
||||
<p class="text-break">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
|
||||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
## Text transform
|
||||
|
||||
Transform text in components with text capitalization classes.
|
||||
|
|
Loading…
Reference in a new issue