27 lines
810 B
SCSS
27 lines
810 B
SCSS
|
|
||
|
@mixin border-radius($radius) {
|
||
|
-webkit-border-radius: $radius;
|
||
|
-moz-border-radius: $radius;
|
||
|
-ms-border-radius: $radius;
|
||
|
-o-border-radius: $radius;
|
||
|
border-radius: $radius;
|
||
|
}
|
||
|
|
||
|
@mixin linear-gradient-vertical($top, $bottom) {
|
||
|
background: -moz-linear-gradient(top, $top 0%, $bottom 100%); /* FF3.6+ */
|
||
|
background: -webkit-linear-gradient(top, $top 0%, $bottom 100%); /* Chrome10+,Safari5.1+ */
|
||
|
background: -o-linear-gradient(top, $top 0%, $bottom 100%); /* Opera11.10+ */
|
||
|
background: -ms-linear-gradient(top, $top 0%, $bottom 100%); /* IE10+ */
|
||
|
background: linear-gradient(top, $top 0%, $bottom 100%); /* W3C */
|
||
|
}
|
||
|
|
||
|
@mixin word-wrap() {
|
||
|
overflow-wrap: break-word;
|
||
|
word-break: break-word;
|
||
|
word-wrap: break-word;
|
||
|
-webkit-hyphens: auto;
|
||
|
-moz-hyphens: auto;
|
||
|
hyphens: auto;
|
||
|
}
|
||
|
|