diff options
| author | Synchro <[email protected]> | 2012-05-01 17:01:26 +0200 |
|---|---|---|
| committer | Synchro <[email protected]> | 2012-05-01 17:01:26 +0200 |
| commit | 5ffb6d670683a32ec2a31c8550ea2669bfac7559 (patch) | |
| tree | fafb000b9a3048262d5295d2f8f051f9fd573d99 | |
| parent | aaabe2a46c64e7d9ffd5735dba2db4f3cf9906f5 (diff) | |
| download | bootstrap-5ffb6d670683a32ec2a31c8550ea2669bfac7559.tar.xz bootstrap-5ffb6d670683a32ec2a31c8550ea2669bfac7559.zip | |
Add .hyphens mixin
| -rw-r--r-- | less/mixins.less | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less index b107955f5..5f3343e4e 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; |
