]> git.ardis.lu - minimal-masonry/commitdiff
Upgrade hover effect to drop-shadow
authorArdis Lu <ardisglu@gmail.com>
Sun, 23 Oct 2022 05:56:58 +0000 (22:56 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 23 Oct 2022 05:56:58 +0000 (22:56 -0700)
index.html

index 1ec33bfe12a0038f86b21dc24ad87045a7a55177..0e9dfb6dfbbbe0fa370fcb4b18a6ef1a12f8f11c 100644 (file)
       padding: 0;
       width: 24px;
       height: 24px;
-      transition: background-color 500ms;
+      transition: filter 500ms;
     }
 
     .info-button:hover,
     .info-button:focus {
       cursor: pointer;
-      background: hsl(58deg 80% 70%);
-      transition: background-color 150ms;
+      filter: drop-shadow(0 0 16px hsl(130deg 100% 40%));
+      transition: filter 150ms;
     }
 
     dialog {
This page took 0.04895 seconds and 4 git commands to generate.