From: Ardis Lu Date: Thu, 22 Sep 2022 05:25:59 +0000 (-0700) Subject: Fix doom flicker X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=6c4924c57bb83d88fa9399018bcfa2b6884b69ef;p=css-loaders Fix doom flicker Must apply the animation to child otherwise hover will rapidly move in and out --- diff --git a/index.html b/index.html index 656b73f..50e6ab6 100644 --- a/index.html +++ b/index.html @@ -83,11 +83,11 @@ 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; }