Last active
December 20, 2015 19:09
-
-
Save bmuenzenmeyer/6181032 to your computer and use it in GitHub Desktop.
Transition SASS 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: .3s, $ease: linear){ | |
| -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