1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00
This commit is contained in:
tobspr
2021-01-17 15:14:32 +01:00
6 changed files with 97 additions and 234 deletions

View File

@@ -1,13 +1,19 @@
@include MakeAnimationWrappedEvenOdd(0.2s ease-in-out, "changeAnim") {
0% {
transform: scale(1, 1);
@each $animName in ("changeAnimEven", "changeAnimOdd") {
@keyframes #{$animName} {
0% {
transform: scale(1, 1);
}
50% {
transform: scale(1.03, 1.03);
}
100% {
transform: scale(1, 1);
}
}
50% {
transform: scale(1.03, 1.03);
}
100% {
transform: scale(1, 1);
.#{$animName} {
animation: $animName 0.2s ease-in-out;
}
}