Commit 8f442458 authored by Mark Otto's avatar Mark Otto

document .hyphens() mixin

parent 23401e81
......@@ -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>
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment