/* Icon Buzz Out */ @include keyframes(#{$nameSpace}-icon-buzz-out) { 10% { @include prefixed(transform, translateX(3px) rotate(2deg)); } 20% { @include prefixed(transform, translateX(-3px) rotate(-2deg)); } 30% { @include prefixed(transform, translateX(3px) rotate(2deg)); } 40% { @include prefixed(transform, translateX(-3px) rotate(-2deg)); } 50% { @include prefixed(transform, translateX(2px) rotate(1deg)); } 60% { @include prefixed(transform, translateX(-2px) rotate(-1deg)); } 70% { @include prefixed(transform, translateX(2px) rotate(1deg)); } 80% { @include prefixed(transform, translateX(-2px) rotate(-1deg)); } 90% { @include prefixed(transform, translateX(1px) rotate(0)); } 100% { @include prefixed(transform, translateX(-1px) rotate(0)); } } @mixin icon-buzz-out { @include hacks(); @include prefixed(transition-duration, $mediumDuration); .hvr-icon { @include prefixed(transform, translateZ(0)); } &:hover, &:focus, &:active { .hvr-icon { @include prefixed(animation-name, #{$nameSpace}-icon-buzz-out); @include prefixed(animation-duration, .75s); @include prefixed(animation-timing-function, linear); @include prefixed(animation-iteration-count, 1); } } }