0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add .hyphens mixin

This commit is contained in:
Synchro 2012-05-01 17:01:26 +02:00
parent aaabe2a46c
commit 5ffb6d6706

View File

@ -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;