Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
8f442458
Commit
8f442458
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
document .hyphens() mixin
parent
23401e81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/less.html
+5
-0
docs/less.html
docs/templates/pages/less.mustache
+5
-0
docs/templates/pages/less.mustache
less/mixins.less
+1
-1
less/mixins.less
with
11 additions
and
1 deletion
+11
-1
docs/less.html
+
5
-
0
View file @
8f442458
...
@@ -907,6 +907,11 @@
...
@@ -907,6 +907,11 @@
<td><code>
@columnCount, @columnGap: @gridGutterWidth
</code></td>
<td><code>
@columnCount, @columnGap: @gridGutterWidth
</code></td>
<td>
Make the content of any element use CSS3 columns
</td>
<td>
Make the content of any element use CSS3 columns
</td>
</tr>
</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>
</tbody>
</table>
</table>
<h3>
Backgrounds and gradients
</h3>
<h3>
Backgrounds and gradients
</h3>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/less.mustache
+
5
-
0
View file @
8f442458
...
@@ -830,6 +830,11 @@
...
@@ -830,6 +830,11 @@
<td><code>
@columnCount, @columnGap: @gridGutterWidth
</code></td>
<td><code>
@columnCount, @columnGap: @gridGutterWidth
</code></td>
<td>
{{
_i
}}
Make the content of any element use CSS3 columns
{{/
i
}}
</td>
<td>
{{
_i
}}
Make the content of any element use CSS3 columns
{{/
i
}}
</td>
</tr>
</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>
</tbody>
</table>
</table>
<h3>
{{
_i
}}
Backgrounds and gradients
{{/
i
}}
</h3>
<h3>
{{
_i
}}
Backgrounds and gradients
{{/
i
}}
</h3>
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
1
-
1
View file @
8f442458
...
@@ -314,12 +314,12 @@
...
@@ -314,12 +314,12 @@
// Optional hyphenation
// Optional hyphenation
.hyphens(@mode: auto) {
.hyphens(@mode: auto) {
word-wrap: break-word;
-webkit-hyphens: @mode;
-webkit-hyphens: @mode;
-moz-hyphens: @mode;
-moz-hyphens: @mode;
-ms-hyphens: @mode;
-ms-hyphens: @mode;
-o-hyphens: @mode;
-o-hyphens: @mode;
hyphens: @mode;
hyphens: @mode;
word-wrap: break-word;
}
}
// Opacity
// Opacity
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment