]> git.ardis.lu - css-for-line-clamp-ellipsis/commitdiff
Add drop-shadow on copy button hover
authorArdis Lu <ardisglu@gmail.com>
Sat, 7 Oct 2023 22:31:35 +0000 (15:31 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sat, 7 Oct 2023 22:31:35 +0000 (15:31 -0700)
index.html

index 89bc6710f4df830e36c07ff14fcd7fd7ddee9a6e..0537ff6ca9e493ada4c0e0d9452b129528c0e320 100644 (file)
       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;
This page took 0.034811 seconds and 4 git commands to generate.