From 53705c641fa4b7f65b6bcfbf639fa4696b8434aa Mon Sep 17 00:00:00 2001 From: Midou36O Date: Sat, 18 Jun 2022 14:01:38 +0100 Subject: [PATCH] animation added --- src/lib/Nav.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 032cb3d..4fcc832 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -50,13 +50,15 @@ .links > *:hover { background-color: var(--accent-tertiary); text-decoration: none; - color: var(--secondary); + transition: all 0.5s; + color: var(--secondary); } .links > *:active { background-color: var(--accent-primary); text-decoration: none; - color: var(--secondary); + transition: all 0.5s; + color: var(--secondary); } img { @@ -81,4 +83,4 @@ gap: 19px; } } - \ No newline at end of file +