Skip to content

Instantly share code, notes, and snippets.

@nonlinear
Created August 9, 2013 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nonlinear/6197846 to your computer and use it in GitHub Desktop.
Save nonlinear/6197846 to your computer and use it in GitHub Desktop.
SASS MIXIN: transition
// -----------------------------------------
// TRANSITION
// -----------------------------------------
@mixin transition($prop: all, $time: 300ms, $ease: ease-out) {
-webkit-transition: $prop $time $ease;
-moz-transition: $prop $time $ease;
-ms-transition: $prop $time $ease;
-o-transition: $prop $time $ease;
transition: $prop $time $ease;
}
// @include transition;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment