From 9df7032ed444eb7b9f81fc30e81745a27c52e3ec Mon Sep 17 00:00:00 2001 From: swaggboi Date: Tue, 15 Feb 2022 20:31:53 -0500 Subject: [PATCH] Fix animation --- public/willpower.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/public/willpower.css b/public/willpower.css index 256c28d..224bf1e 100644 --- a/public/willpower.css +++ b/public/willpower.css @@ -29,9 +29,9 @@ html, body { text-align: center; width: 70%; padding: 1em; - -webkit-animation-name: from_top; + -webkit-animation-name: fade_in; -webkit-animation-duration: 1.5s; - animation-name: from_top; + animation-name: fade_in; animation-duration: 1.5s; position: absolute; z-index: 10; @@ -95,26 +95,22 @@ html, body { display: none; } -@-webkit-keyframes from_top { +@-webkit-keyframes fade_in { from { - top: -25%; opacity: 0; } to { - top: 25%; opacity: 1; } } -@keyframes from_top { +@keyframes fade_in { from { - top: -25%; opacity: 0; } to { - top: 25%; opacity: 1; } }