From 6c4924c57bb83d88fa9399018bcfa2b6884b69ef Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Wed, 21 Sep 2022 22:25:59 -0700 Subject: [PATCH] Fix doom flicker Must apply the animation to child otherwise hover will rapidly move in and out --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.47.3