commit f11dd5d3836a0a68c974ad29043e40ce961c2560
parent a6dd05a1245eb2a64e9c5d216de486787c7ceed2
Author: mjkloeckner <martinjkloeckner@gmail.com>
Date: Sat, 17 Feb 2024 21:59:14 -0300
Add zoom animation to Index greeting message
Diffstat:
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/css/style.css b/css/style.css
@@ -204,6 +204,7 @@ footer {
color: #DAA520;
padding-top: .25em;
padding-bottom: .5em;
+ animation: zoom-in-zoom-out 5s ease-in-out infinite;
}
img {
@@ -523,7 +524,16 @@ time {
#urgent-announcement {
color: #090909;
}
- img {
- background: white;
+}
+
+@keyframes zoom-in-zoom-out {
+ 0% {
+ transform: scale(1, 1);
+ }
+ 50% {
+ transform: scale(1.12, 1.12);
+ }
+ 100% {
+ transform: scale(1, 1);
}
}