From ef78e21d4ba8e32b989e6cb8470d020bb7f94c5a Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 13 Jul 2024 01:02:32 +0800 Subject: [PATCH] Reduce link button transition time --- src/assets/css/components.css | 2 +- src/assets/css/misc.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/css/components.css b/src/assets/css/components.css index eaf782af..82d86f3e 100644 --- a/src/assets/css/components.css +++ b/src/assets/css/components.css @@ -79,7 +79,7 @@ .link-btn:hover { background: var(--clr-link-btn-hover); - transition: 0.3s; + transition: 0.2s; } .link-btn:focus { diff --git a/src/assets/css/misc.css b/src/assets/css/misc.css index 9e4b21fe..fe02355a 100644 --- a/src/assets/css/misc.css +++ b/src/assets/css/misc.css @@ -150,7 +150,7 @@ p { font-size: var(--fs-p); } .index__link:hover { cursor: pointer; background: var(--clr-link-btn-hover); - transition: 0.3s; + transition: 0.2s; } .index__link:focus {