From 177ea68c51f429debe6be4dc60f6f59b407d56bf Mon Sep 17 00:00:00 2001 From: Andrew Yu Date: Tue, 11 Jan 2022 16:37:58 +0800 Subject: anim chg --- style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index c881cc7..40ae732 100644 --- a/style.css +++ b/style.css @@ -94,8 +94,8 @@ a:active { font-size: 200%; transition: font-size 0.3s, transform 0.3s; animation-name: shake; - animation-iteration-count: 8; - animation-duration: 0.3s; + animation-iteration-count: 3; + animation-duration: 0.5s; } .alarm { color: red; @@ -111,6 +111,6 @@ a:active { } @keyframes shake { 0%, 100% {transform: rotate(0deg);} - 10%, 30%, 50%, 70%, 90% {transform: rotate(-7deg);} - 20%, 40%, 60%, 80% {transform: rotate(7deg);} + 10%, 30%, 50%, 70%, 90% {transform: rotate(-3deg);} + 20%, 40%, 60%, 80% {transform: rotate(3deg);} } -- cgit 1.4.1-2-gfad0