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/less/effects/icons/_icon-up.less
2021-08-31 11:30:22 -04:00

32 lines
473 B
Text

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