From 98f4ee1dc2f505b0caa9c08b05935b78cc206007 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Thu, 28 Dec 2023 13:06:11 +0100 Subject: Fine tuned view transition --- apps/website/src/styles/global.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'apps/website/src/styles') diff --git a/apps/website/src/styles/global.css b/apps/website/src/styles/global.css index f98d574..a240f83 100644 --- a/apps/website/src/styles/global.css +++ b/apps/website/src/styles/global.css @@ -32,6 +32,27 @@ } } +/* Transition */ +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + /* Codeblocks */ .astro-code { padding: 10px; -- cgit