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

28 lines
581 B
Text

/* Icon Pulse Shrink */
.keyframes(~"@{nameSpace}-icon-pulse-shrink", {
to {
.prefixed(transform, scale(.8));
}
});
.icon-pulse-shrink() {
.hacks();
.hvr-icon {
.prefixed(transform, translateZ(0));
.prefixed(transition-timing-function, ease-out);
}
&:hover,
&:focus,
&:active {
.hvr-icon {
.prefixed(animation-name, ~"@{nameSpace}-icon-pulse-shrink");
.prefixed(animation-duration, @mediumDuration);
.prefixed(animation-timing-function, linear);
.prefixed(animation-iteration-count, infinite);
.prefixed(animation-direction, alternate);
}
}
}