From: Ardis Lu Date: Wed, 13 Dec 2023 05:37:52 +0000 (-0800) Subject: Add grow effect on hover X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=8f470dacdd1df52122d5dc6ee702d9c35b6977ba;p=static-encrypt Add grow effect on hover --- diff --git a/index.html b/index.html index 41ff7c7..8548f5d 100644 --- a/index.html +++ b/index.html @@ -154,6 +154,13 @@ inline-size: 24px; block-size: 24px; color: inherit; + transition: scale 400ms; + } + + svg:hover, + :is(a, button):focus svg { + scale: 110%; + transition: scale 200ms; }