From f7eca95eb6213f3c5ec9f715e6f5f3706427cf96 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 12 Apr 2022 21:52:33 -0700 Subject: [PATCH] Update text-decoration so transitions work Transitions apply to text-decoration-color, not text-decoration-line --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index e1447f3..084ea24 100644 --- a/style.css +++ b/style.css @@ -24,14 +24,14 @@ h1 { a { color: hsl(216deg 100% 45%); font-weight: bold; - text-decoration: none; + text-decoration-color: transparent; transition: 0.15s; } a:hover, a:focus { background-color: hsl(30deg 80% 90%); border-radius: 0.25rem; - text-decoration: underline; + text-decoration-color: currentColor; } kbd { -- 2.47.3