1
0
Fork 0
mirror of https://github.com/uhIgnacio/igna.rocks.git synced 2024-08-15 02:23:12 +00:00
igna.rocks/assets/js/scss/effects/icons/_icon-sink-away.scss
2021-08-31 11:30:22 -04:00

32 lines
596 B
SCSS

/* Icon Sink Away */
@include keyframes(#{$nameSpace}-icon-sink-away) {
0% {
opacity: 1;
}
100% {
opacity: 0;
@include prefixed(transform, translateY(1em));
}
}
/* Icon Sink Away */
@mixin icon-sink-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-sink-away);
@include prefixed(animation-timing-function, ease-out);
}
}
}