Last active
December 17, 2015 12:19
-
-
Save rgomezcasas/5609360 to your computer and use it in GitHub Desktop.
Sass mixins
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 prefixr($que, $arguments) { | |
#{$que}: $arguments; | |
-webkit-#{$que}: $arguments; | |
-ms-#{$que}: $arguments; | |
-moz-#{$que}: $arguments; | |
-o-#{$que}: $arguments; | |
} | |
@mixin transition($time) { | |
@include prefixr(transition, all $time linear); | |
} | |
@mixin box-sizing($com) { | |
&, &:before, &:after { | |
@include prefixr(box-sizing, $com); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment