Last active
June 1, 2016 06:56
-
-
Save etoxin/4b1f1f9680dba75faae1ee537339dcfc to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
// ------------- | |
// Example use: | |
// @include transition(transform 500ms, box-shadow 500ms); | |
@mixin transition ($values...) { | |
-webkit-transition: $values; | |
-ms-transition: $values; | |
transition: $values; | |
} | |
// Example use: | |
// @include transform(translateY(5px)); | |
@mixin transform($values...) { | |
-webkit-transform: $values; | |
-ms-transform: $values; | |
transform: $values; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment