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-bounce-out.scss

29 lines
653 B
SCSS
Raw Normal View History

2021-08-31 15:30:22 +00:00
/* Icon Bounce Out */
@include keyframes(#{$nameSpace}-icon-bounce-out) {
50% {
@include prefixed(transform, scale(1.5));
}
}
@mixin icon-bounce-out {
@include hacks();
@include prefixed(transition-duration, $mediumDuration);
.hvr-icon {
@include prefixed(transform, translateZ(0));
@include prefixed(transition-duration, $mediumDuration);
@include prefixed(transition-property, transform);
@include prefixed(transition-timing-function, ease-out);
}
&:hover,
&:focus,
&:active {
.hvr-icon {
@include prefixed(transform, scale(.9));
@include prefixed(transition-timing-function, cubic-bezier(.47,2.02,.31,-0.36));
}
}
}