mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
39 lines
713 B
SCSS
39 lines
713 B
SCSS
/* Wobble Skew */
|
|
@include keyframes(#{$nameSpace}-wobble-skew) {
|
|
16.65% {
|
|
@include prefixed(transform, skew(-12deg));
|
|
}
|
|
|
|
33.3% {
|
|
@include prefixed(transform, skew(10deg));
|
|
}
|
|
|
|
49.95% {
|
|
@include prefixed(transform, skew(-6deg));
|
|
}
|
|
|
|
66.6% {
|
|
@include prefixed(transform, skew(4deg));
|
|
}
|
|
|
|
83.25% {
|
|
@include prefixed(transform, skew(-2deg));
|
|
}
|
|
|
|
100% {
|
|
@include prefixed(transform, skew(0));
|
|
}
|
|
}
|
|
|
|
@mixin wobble-skew {
|
|
@include hacks();
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
@include prefixed(animation-name, #{$nameSpace}-wobble-skew);
|
|
@include prefixed(animation-duration, 1s);
|
|
@include prefixed(animation-timing-function, ease-in-out);
|
|
@include prefixed(animation-iteration-count, 1);
|
|
}
|
|
}
|