From 5ffb6d670683a32ec2a31c8550ea2669bfac7559 Mon Sep 17 00:00:00 2001 From: Synchro <marcus@synchromedia.co.uk> Date: Tue, 1 May 2012 17:01:26 +0200 Subject: [PATCH] Add .hyphens mixin --- less/mixins.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/less/mixins.less b/less/mixins.less index b107955f57..5f3343e4ea 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -312,6 +312,15 @@ column-gap: @columnGap; } +// Optional hyphenation +.hyphens(@mode: auto) { + -webkit-hyphens: @mode; + -moz-hyphens: @mode; + -ms-hyphens: @mode; + hyphens: @mode; + word-wrap:break-word; +} + // Opacity .opacity(@opacity) { opacity: @opacity / 100; -- GitLab