From 9f6109078f191187f007d13b45124fdbee2136cf Mon Sep 17 00:00:00 2001 From: LeoKu Date: Tue, 8 Feb 2022 08:36:45 +0800 Subject: [PATCH] Change transform rotate unit --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 70794ae..31d9cad 100644 --- a/index.html +++ b/index.html @@ -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); } } -- GitLab