From b28914dcbf203ee1ace5a5b92aa93ec157ba2fe2 Mon Sep 17 00:00:00 2001 From: YeahAkis_ Date: Tue, 16 Jan 2024 21:53:00 +0100 Subject: [PATCH] transition changes --- assets/style.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 4d7b6a0..c679745 100644 --- a/assets/style.css +++ b/assets/style.css @@ -172,10 +172,15 @@ header hr { border: 0; transition: max-height 0.3s ease; } +.navsite_item .navpage_list { + transition-delay: 0.3s; /* Delay the border fade-out transition */ +} +/* Modify this style for the hover state of the navsite_item */ .navsite_item:hover .navpage_list { - max-height: 200px; - border: 4px solid var(--primary-hover) ; + max-height: 200px; /* Adjust the value based on your content height */ + border: 4px solid var(--primary-hover); /* Adjust border style as needed */ + transition-delay: 0s; /* Reset delay on hover */ } a.navpage_link{