aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-05-13 14:28:32 -0700
committerMark Otto <[email protected]>2012-05-13 14:28:32 -0700
commit1a8561d0849fc2714e0482d5886b2e05ceefa453 (patch)
tree11bcd5fd85e012f9c3937d00aee878dd2c440485
parentb261f9781bbf31f499cb55c49451dc0c0ad43062 (diff)
parentca369c4b2af2a94acea00cd228d87a30fe5d2886 (diff)
downloadbootstrap-1a8561d0849fc2714e0482d5886b2e05ceefa453.tar.xz
bootstrap-1a8561d0849fc2714e0482d5886b2e05ceefa453.zip
Merge branch 'hyphenation' of https://github.com/Synchro/bootstrap into Synchro-hyphenation
-rw-r--r--less/mixins.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less
index b107955f5..44e5698eb 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;