/* Icon Float Away */ @include keyframes(#{$nameSpace}-icon-float-away) { 0% { opacity: 1; } 100% { opacity: 0; @include prefixed(transform, translateY(-1em)); } } /* Icon Float Away */ @mixin icon-float-away { @include hacks(); .hvr-icon { @include prefixed(transform, translateZ(0)); @include prefixed(animation-duration, #{$slowDuration}); @include prefixed(animation-fill-mode, forwards); } &:hover, &:focus, &:active { .hvr-icon { @include prefixed(animation-name, #{$nameSpace}-icon-float-away); @include prefixed(animation-timing-function, ease-out); } } }