From: Ardis Lu Date: Sun, 25 Feb 2024 05:38:52 +0000 (-0800) Subject: Add :focus-within in addition to :hover X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=a27274d75bec6752bd5740a445b70549f447fd99;p=css-loaders Add :focus-within in addition to :hover --- 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; }