Created
August 8, 2013 03:01
-
-
Save bmuenzenmeyer/6181088 to your computer and use it in GitHub Desktop.
variable based transition mixin
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
//usage: @include shift([property],[duration],[easing]); | |
@mixin shift($property: all, $duration: $transitionSpeed, $ease: $easingFunction){ | |
-webkit-transition: $property $duration $ease; | |
-moz-transition: $property $duration $ease; | |
-o-transition: $property $duration $ease; | |
transition: $property $duration $ease; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment