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

30 lines
640 B
Text

/* Icon Pop */
.keyframes(~"@{nameSpace}-icon-pop", {
50% {
.prefixed(transform, scale(1.5));
}
});
.icon-pop() {
.hacks();
.prefixed(transition-duration, @mediumDuration);
.hvr-icon {
.prefixed(transform, translateZ(0));
.prefixed(transition-duration, @mediumDuration);
.prefixed(transition-property, transform);
.prefixed(transition-timing-function, ease-out);
}
&:hover,
&:focus,
&:active {
.hvr-icon {
.prefixed(animation-name, ~"@{nameSpace}-icon-pop");
.prefixed(animation-duration, @mediumDuration);
.prefixed(animation-timing-function, linear);
.prefixed(animation-iteration-count, 1);
}
}
}