diff options
author | Andrew Yu <andrew@andrewyu.org> | 2022-01-11 16:45:24 +0800 |
---|---|---|
committer | Andrew Yu <andrew@andrewyu.org> | 2022-01-11 16:45:24 +0800 |
commit | 38de7174f35ee967a92666a37e1dda6a631e179f (patch) | |
tree | 9665c116f66bdb6c25f3bce8a529e7191a0324fe | |
parent | 5e01ee49711cac209460a8841cd98a06f82464ad (diff) | |
download | www-38de7174f35ee967a92666a37e1dda6a631e179f.tar.gz |
shake! shake!
-rw-r--r-- | style.css | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/style.css b/style.css index c28690f..6f88687 100644 --- a/style.css +++ b/style.css @@ -88,14 +88,15 @@ a:active { color: red; display: block; border: 1px solid red; - transition: font-size 3s, transform 0.3s; + transition: padding 1s, font-size 1s; } #campaign:hover{ font-size: 200%; - transition: font-size 0.3s, transform 0.3s; + transition: padding 1s, font-size 1s; animation-name: shake; - animation-iteration-count: 3; - animation-duration: 1.2s; + animation-iteration-count: 1; + animation-duration: 3s; + padding: 10ex; } .alarm { color: red; |