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

21 lines
456 B
SCSS

/* Icon Forward */
@mixin icon-forward {
@include hacks();
@include prefixed(transition-duration, $fastDuration);
.hvr-icon {
@include prefixed(transform, translateZ(0));
@include prefixed(transition-duration, $fastDuration);
@include prefixed(transition-property, transform);
@include prefixed(transition-timing-function, ease-out);
}
&:hover,
&:focus,
&:active {
.hvr-icon {
@include prefixed(transform, translateX(4px));
}
}
}