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/2d-transitions/_push.scss
2021-08-31 11:30:22 -04:00

23 lines
443 B
SCSS

/* Push */
@include keyframes(#{$nameSpace}-push) {
50% {
@include prefixed(transform, scale(.8));
}
100% {
@include prefixed(transform, scale(1));
}
}
@mixin push {
@include hacks();
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-push);
@include prefixed(animation-duration, .3s);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, 1);
}
}