Skip to content

Instantly share code, notes, and snippets.

@everettcaleb
Created June 17, 2016 13:26
Show Gist options
  • Save everettcaleb/2f5a78e10bb777509eeb319f1dac6165 to your computer and use it in GitHub Desktop.
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.
@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