From 8a41b67020b48c58031dbe977764cd26b23f0106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Zo=C3=A9=20Juh=C3=A1sz?= <juhaszbarbara@localhost> Date: Tue, 18 Mar 2025 18:34:43 +0000 Subject: [PATCH] Update szamrendszer.css --- szamrendszer.css | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/szamrendszer.css b/szamrendszer.css index 7243b2a..f3aca3e 100644 --- a/szamrendszer.css +++ b/szamrendszer.css @@ -64,4 +64,39 @@ input[readonly] { margin: 10px; width: 100%; max-width: 200px; -} \ No newline at end of file +} + +body { + opacity: 1; + transition: opacity 0.5s ease-in-out; +} + +body.fade-out { + opacity: 0; +} + +.animated-bg { + transition: opacity 0.5s ease-in-out; +} + +body { + opacity: 0; + animation: fadeIn 0.5s forwards; + transition: opacity 0.5s ease-in-out; + +} + +@keyframes fadeIn { + to { + opacity: 1; + } +} + +body.fade-out { + opacity: 0; +} + + +.animated-bg { + transition: opacity 0.5s ease-in-out; +}