Created
June 17, 2016 13:26
-
-
Save everettcaleb/2f5a78e10bb777509eeb319f1dac6165 to your computer and use it in GitHub Desktop.
Cross-browser transition support in SCSS plus the Google bezier curve for transitions.
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 transition($args...) { | |
-webkit-transition: $args; | |
-moz-transition: $args; | |
-o-transition: $args; | |
transition: $args; | |
} | |
.google-bezier { | |
@include transition(all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment