mirror of https://github.com/twbs/bootstrap.git
Add .hyphens mixin
This commit is contained in:
parent
aaabe2a46c
commit
5ffb6d6706
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue