Change transform rotate unit

This commit is contained in:
LeoKu 2022-02-08 08:36:45 +08:00
parent f6537230c8
commit 9f6109078f

View File

@ -72,19 +72,19 @@
}
25% {
transform: rotateY(180deg);
transform: rotateY(0.5turn);
}
50% {
transform: rotateY(180deg) rotateX(180deg);
transform: rotateY(0.5turn) rotateX(0.5turn);
}
75% {
transform: rotateY(360deg) rotateX(180deg);
transform: rotateY(1turn) rotateX(0.5turn);
}
100% {
transform: rotateY(360deg) rotateX(360deg);
transform: rotateY(1turn) rotateX(0.5turn);
}
}