mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
51 lines
736 B
SCSS
51 lines
736 B
SCSS
// prefix declarations
|
|
@mixin prefixed($property, $value) {
|
|
@if $webkit == true {
|
|
-webkit-#{$property}: #{$value};
|
|
}
|
|
|
|
@if $moz == true {
|
|
-moz-#{$property}: #{$value};
|
|
}
|
|
|
|
@if $ms == true {
|
|
-ms-#{$property}: #{$value};
|
|
}
|
|
|
|
@if $o == true {
|
|
-o-#{$property}: #{$value};
|
|
}
|
|
|
|
#{$property}: #{$value};
|
|
}
|
|
|
|
// prefix keyframes
|
|
@mixin keyframes($name) {
|
|
@if $webkit == true {
|
|
@-webkit-keyframes #{$name} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@if $moz == true {
|
|
@-moz-keyframes #{$name} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@if $ms == true {
|
|
@-ms-keyframes #{$name} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@if $o == true {
|
|
@-o-keyframes #{$name} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@keyframes #{$name} {
|
|
@content;
|
|
}
|
|
}
|