]> git.ardis.lu - css-loaders/commitdiff
Fix doom flicker
authorArdis Lu <ardisglu@gmail.com>
Thu, 22 Sep 2022 05:25:59 +0000 (22:25 -0700)
committerArdis Lu <ardisglu@gmail.com>
Thu, 22 Sep 2022 05:25:59 +0000 (22:25 -0700)
Must apply the animation to child otherwise hover will rapidly move in and out

index.html

index 656b73f07747ad76b3c175f24c6d60940e2ab024..50e6ab6b22cb2f49330447cf4215dbf5874bfda5 100644 (file)
       padding: 0;
       border: 0;
       background: none;
+      cursor: pointer;
     }
 
-    .icon-button:hover,
-    .icon-button:focus {
-      cursor: pointer;
+    .icon-button:hover svg,
+    .icon-button:focus svg{
       animation: spin 0.2s linear 1;
     }
 
This page took 0.04421 seconds and 4 git commands to generate.