aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-05-13 14:29:08 -0700
committerMark Otto <[email protected]>2012-05-13 14:29:08 -0700
commit23401e811f28f1ef351274661bf1f1bc8a8bc8af (patch)
treefb4c920c9e869e5917ddb8b1167c153140f9ce46
parent7de65e0a628a3faa1b3837aabea43ae234c5b7a4 (diff)
parent1a8561d0849fc2714e0482d5886b2e05ceefa453 (diff)
downloadbootstrap-23401e811f28f1ef351274661bf1f1bc8a8bc8af.tar.xz
bootstrap-23401e811f28f1ef351274661bf1f1bc8a8bc8af.zip
Merge branch 'Synchro-hyphenation' into 2.0.4-wip
-rw-r--r--less/mixins.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 6989b1376..b5c5352cf 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -312,6 +312,16 @@
column-gap: @columnGap;
}
+// Optional hyphenation
+.hyphens(@mode: auto) {
+ -webkit-hyphens: @mode;
+ -moz-hyphens: @mode;
+ -ms-hyphens: @mode;
+ -o-hyphens: @mode;
+ hyphens: @mode;
+ word-wrap: break-word;
+}
+
// Opacity
.opacity(@opacity) {
opacity: @opacity / 100;