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

23 lines
392 B
Text

/* Pulse */
.keyframes(~"@{nameSpace}-pulse", {
25% {
.prefixed(transform, scale(1.1));
}
75% {
.prefixed(transform, scale(.9));
}
});
.pulse() {
.hacks();
&:hover,
&:focus,
&:active {
.prefixed(animation-name, ~"@{nameSpace}-pulse");
.prefixed(animation-duration, 1s);
.prefixed(animation-timing-function, linear);
.prefixed(animation-iteration-count, infinite);
}
}