]> git.ardis.lu - css-loaders/commitdiff
Add :focus-within in addition to :hover
authorArdis Lu <ardisglu@gmail.com>
Sun, 25 Feb 2024 05:38:52 +0000 (21:38 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sun, 25 Feb 2024 05:38:52 +0000 (21:38 -0800)
index.html

index 50b2415c0c36b72dbfd33f193679d1b2fa3279f6..72c35e129c6af32511ca615621f7baf66ae87687 100644 (file)
         transition: bottom 400ms;
     }
 
-    .card.peeking-rainbow-background:hover::before {
+    .card.peeking-rainbow-background:is(:hover, :focus-within)::before {
       bottom: 0;
       transition: bottom 200ms;
     }
This page took 0.036955 seconds and 4 git commands to generate.