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/_pulse-shrink.scss

21 lines
492 B
SCSS
Raw Normal View History

2021-08-31 15:30:22 +00:00
/* Pulse Shrink */
@include keyframes(#{$nameSpace}-pulse-shrink) {
to {
@include prefixed(transform, scale(.9));
}
}
@mixin pulse-shrink {
@include hacks();
&:hover,
&:focus,
&:active {
@include prefixed(animation-name, #{$nameSpace}-pulse-shrink);
@include prefixed(animation-duration, $mediumDuration);
@include prefixed(animation-timing-function, linear);
@include prefixed(animation-iteration-count, infinite);
@include prefixed(animation-direction, alternate);
}
}