From cba5fc0410c1b7bf1af9a7e3e1c804f4afb00927 Mon Sep 17 00:00:00 2001 From: schrumpel <Ă‚git@f0ck.it> Date: Wed, 29 Nov 2023 04:47:41 +0100 Subject: [PATCH] fader --- public/s/css/f0ck.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css index ca6dee0..625354d 100644 --- a/public/s/css/f0ck.css +++ b/public/s/css/f0ck.css @@ -2932,4 +2932,30 @@ button#togglebg { border: 0; background: transparent; cursor: pointer; +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@keyframes fadeOut { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.fader-in { + animation: fadeIn .8s steps(100) forwards; +} + +.fader-out { + animation: fadeOut .8s steps(100) forwards } \ No newline at end of file