From 89b1c593e76e1e42e2a6a977ad904ceb6af892af Mon Sep 17 00:00:00 2001 From: nyx Date: Fri, 31 Jan 2025 00:16:02 -0600 Subject: [PATCH] Try (and fail) to add an animation --- src/imag/static/index.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/imag/static/index.css b/src/imag/static/index.css index 77b4802..9827bfb 100644 --- a/src/imag/static/index.css +++ b/src/imag/static/index.css @@ -18,9 +18,37 @@ body { height: 100% } +@-webkit-keyframes AnimationName { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} + +@-moz-keyframes AnimationName { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} + +@-o-keyframes AnimationName { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} + +@keyframes AnimationName { + 0%{background-position:0% 50%} + 50%{background-position:100% 50%} + 100%{background-position:0% 50%} +} + html { height: 100%; background: linear-gradient(to left, #28282B, #353935); + -webkit-animation: AnimationName 5s ease infinite; + -moz-animation: AnimationName 5s ease infinite; + -o-animation: AnimationName 5s ease infinite; + animation: AnimationName 5s ease infinite; } h1 { @@ -41,3 +69,4 @@ button { .image { margin-bottom: 2em; } +