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/_wobble-vertical.less
2021-08-31 11:30:22 -04:00

39 lines
663 B
Text

/* Wobble Vertical */
.keyframes(~"@{nameSpace}-wobble-vertical", {
16.65% {
.prefixed(transform, translateY(8px));
}
33.3% {
.prefixed(transform, translateY(-6px));
}
49.95% {
.prefixed(transform, translateY(4px));
}
66.6% {
.prefixed(transform, translateY(-2px));
}
83.25% {
.prefixed(transform, translateY(1px));
}
100% {
.prefixed(transform, translateY(0));
}
});
.wobble-vertical() {
.hacks();
&:hover,
&:focus,
&:active {
.prefixed(animation-name, ~"@{nameSpace}-wobble-vertical");
.prefixed(animation-duration, 1s);
.prefixed(animation-timing-function, ease-in-out);
.prefixed(animation-iteration-count, 1);
}
}