Skip to content

Instantly share code, notes, and snippets.

@bmuenzenmeyer
Last active December 20, 2015 19:09
Show Gist options
  • Select an option

  • Save bmuenzenmeyer/6181032 to your computer and use it in GitHub Desktop.

Select an option

Save bmuenzenmeyer/6181032 to your computer and use it in GitHub Desktop.
Transition SASS Mixin
//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