From 0e9c497cb9136e76d690b2dc3b4a0a0ca237dfe6 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 7 Oct 2023 15:31:35 -0700 Subject: [PATCH] Add drop-shadow on copy button hover --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index 89bc671..0537ff6 100644 --- a/index.html +++ b/index.html @@ -111,6 +111,11 @@ opacity: 0.9; } + :is(button:hover, button:focus-within) svg { + filter: drop-shadow(0 0 16px hsl(216deg 50% 65%)); + transition: filter 200ms; + } + pre, code { border-radius: 4px; -- 2.47.3