From ba53d0ca988e75497556fc3cbda7101536cf454a Mon Sep 17 00:00:00 2001 From: kj Date: Mon, 15 Jul 2019 14:18:57 -0400 Subject: [PATCH] Add a css effect on download links. --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/style.css b/style.css index 728349d..92380ee 100644 --- a/style.css +++ b/style.css @@ -21,6 +21,8 @@ body{ padding: 5px; text-decoration: none; border: 1px solid; + animation: colorchange 3s; + -webkit-animation: colorchange 3s; } #input-area, #dlarea { @@ -38,3 +40,13 @@ body{ #dlarea{ background: #4caf50; } + +@keyframes colorchange{ + 50% {background: #c33d3d;} + 100% {background: transparent;} +} + +@-webkit-keyframes colorchange{ + 50% {background: #c33d3d;} + 100% {background: transparent;} +}