mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
document .hyphens() mixin
This commit is contained in:
parent
23401e811f
commit
8f44245850
@ -907,6 +907,11 @@
|
||||
<td><code>@columnCount, @columnGap: @gridGutterWidth</code></td>
|
||||
<td>Make the content of any element use CSS3 columns</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.hyphens()</code></td>
|
||||
<td><code>@mode: auto</code></td>
|
||||
<td>CSS3 hyphenation when you want it (includes <code>word-wrap: break-word</code>)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Backgrounds and gradients</h3>
|
||||
|
5
docs/templates/pages/less.mustache
vendored
5
docs/templates/pages/less.mustache
vendored
@ -830,6 +830,11 @@
|
||||
<td><code>@columnCount, @columnGap: @gridGutterWidth</code></td>
|
||||
<td>{{_i}}Make the content of any element use CSS3 columns{{/i}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.hyphens()</code></td>
|
||||
<td><code>@mode: auto</code></td>
|
||||
<td>{{_i}}CSS3 hyphenation when you want it (includes <code>word-wrap: break-word</code>){{/i}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>{{_i}}Backgrounds and gradients{{/i}}</h3>
|
||||
|
@ -314,12 +314,12 @@
|
||||
|
||||
// Optional hyphenation
|
||||
.hyphens(@mode: auto) {
|
||||
word-wrap: break-word;
|
||||
-webkit-hyphens: @mode;
|
||||
-moz-hyphens: @mode;
|
||||
-ms-hyphens: @mode;
|
||||
-o-hyphens: @mode;
|
||||
hyphens: @mode;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
// Opacity
|
||||
|
Loading…
Reference in New Issue
Block a user