Last active
November 26, 2020 17:54
-
-
Save juliocesar/8105794 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Prefix mixins | |
// ============= | |
// | |
// A set of SASS mixins for abstracting vendor prefixes. | |
@mixin background-size($parameters) | |
-webkit-background-size : $parameters | |
-moz-background-size : $parameters | |
-o-background-size : $parameters | |
background-size : $parameters | |
@mixin prefix-background-clip($parameters) | |
-webkit-background-clip : $parameters | |
-moz-background-clip : $parameters | |
-ms-background-clip : $parameters | |
background-clip : $parameters | |
@mixin prefix-transition($parameters...) | |
-webkit-transition : $parameters | |
-moz-transition : $parameters | |
-ms-transition : $parameters | |
transition : $parameters | |
@mixin prefix-perspective($parameters) | |
-webkit-perspective : $parameters | |
-moz-perspective : $parameters | |
-ms-perspective : $parameters | |
perspective : $parameters | |
@mixin prefix-transition-delay($parameters) | |
-webkit-transition-delay : $parameters | |
-moz-transition-delay : $parameters | |
-ms-transition-delay : $parameters | |
transition-delay : $parameters | |
@mixin prefix-transform($parameters) | |
-webkit-transform : $parameters | |
-moz-transform : $parameters | |
-ms-transform : $parameters | |
transform : $parameters | |
@mixin prefix-transform-origin($parameters) | |
-webkit-transform-origin : $parameters | |
-moz-transform-origin : $parameters | |
-ms-transform-origin : $parameters | |
transform-origin : $parameters | |
@mixin prefix-animation($parameters) | |
-webkit-animation : $parameters | |
-moz-animation : $parameters | |
-ms-animation : $parameters | |
animation : $parameters | |
@mixin prefix-animation-delay($parameters) | |
-webkit-animation-delay : $parameters | |
-moz-animation-delay : $parameters | |
-ms-animation-delay : $parameters | |
animation-delay : $parameters | |
@mixin prefix-animation-fill-mode($parameters) | |
-webkit-animation-fill-mode : $parameters | |
-moz-animation-fill-mode : $parameters | |
-ms-animation-fill-mode : $parameters | |
animation-fill-mode : $parameters | |
@mixin prefix-animation-play-state($parameters) | |
-webkit-animation-play-state : $parameters | |
-moz-animation-play-state : $parameters | |
-ms-animation-play-state : $parameters | |
animation-play-state : $parameters | |
@mixin prefix-user-select($parameters) | |
-webkit-user-select : $parameters | |
-moz-user-select : $parameters | |
user-select : $parameters | |
@mixin prefix-filter($parameters) | |
-webkit-filter : $parameters | |
-moz-filter : $parameters | |
-ms-filter : $parameters | |
filter : $parameters |
ghost
commented
Apr 19, 2014
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
@mixin box-shadow($value) {
-webkit-box-shadow: $value;
-moz-box-shadow: $value;
box-shadow: $value;
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment