summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndrew Yu <andrew@andrewyu.org>2022-01-11 16:37:58 +0800
committerAndrew Yu <andrew@andrewyu.org>2022-01-11 16:37:58 +0800
commit177ea68c51f429debe6be4dc60f6f59b407d56bf (patch)
tree5ea33010a6d430b3c4284390885afdccf00b212a
parent76c7c1850eaec3ea8e20298299a64298b54a09df (diff)
downloadwww-177ea68c51f429debe6be4dc60f6f59b407d56bf.tar.gz
anim chg
-rw-r--r--style.css8
1 files 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);} 
 }