From a27274d75bec6752bd5740a445b70549f447fd99 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 24 Feb 2024 21:38:52 -0800 Subject: [PATCH] Add :focus-within in addition to :hover --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 50b2415..72c35e1 100644 --- a/index.html +++ b/index.html @@ -348,7 +348,7 @@ transition: bottom 400ms; } - .card.peeking-rainbow-background:hover::before { + .card.peeking-rainbow-background:is(:hover, :focus-within)::before { bottom: 0; transition: bottom 200ms; } -- 2.47.3