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-up.scss
2021-08-31 11:30:22 -04:00

32 lines
535 B
SCSS

/* Icon Up */
@include keyframes(#{$nameSpace}-icon-up) {
0%,
50%,
100% {
@include prefixed(transform, translateY(0));
}
25%,
75% {
@include prefixed(transform, translateY(-6px));
}
}
/* Icon Up */
@mixin icon-up {
@include hacks();
.hvr-icon {
@include prefixed(transform, translateZ(0));
}
&:hover,
&:focus,
&:active {
.hvr-icon {
@include prefixed(animation-name, #{$nameSpace}-icon-up);
@include prefixed(animation-duration, .75s);
@include prefixed(animation-timing-function, ease-out);
}
}
}