Created
April 22, 2014 19:10
-
-
Save jeffisabelle/11190795 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
@mixin vendor-prefix($name, $value) { | |
@each $vendor in ('-webkit-', '-moz-', '-ms-', '-o-', '') { | |
#{$vendor}#{$name}: #{$value}; | |
} | |
} | |
/* | |
$deg stands for "5deg", "45deg" etc. | |
*/ | |
@mixin rotate($deg) { | |
@include vendor-prefix('transform', $deg); | |
} | |
/* | |
$svalue stands for: | |
$hoffset $voffset $radius $color like; | |
5px 5px 3px #ddd | |
*/ | |
@mixin box-shadow($svalue) { | |
@include vendor-prefix("box-shadow", $svalue) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment