Kcko
10/29/2014 - 8:38 PM

Transition mixin

Transition mixin

a {
  color: gray;
  @include transition(color .3s ease);
  &:hover {
    color: black;
  }
}
@mixin transition($args...) {
  -webkit-transition: $args;
  -moz-transition: $args;
  -ms-transition: $args;
  -o-transition: $args;
  transition: $args;
}