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

21 lines
397 B
Text

/* Icon Float */
.icon-float() {
.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(transform, translateY(-4px));
}
}
}