From e0ae7d20ddc5c5c897d843a4269fe9f6807c4736 Mon Sep 17 00:00:00 2001 From: MohamadSalman11 Date: Sun, 29 Sep 2024 22:46:28 +0200 Subject: [PATCH] Add active scale effect to animate-img --- site/assets/scss/_masthead.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/assets/scss/_masthead.scss b/site/assets/scss/_masthead.scss index d74d1ec24941..128f8b79af40 100644 --- a/site/assets/scss/_masthead.scss +++ b/site/assets/scss/_masthead.scss @@ -108,6 +108,10 @@ &:hover > img { transform: scale(1.1); } + + &:active > img { + transform: scale(.9); + } } @if $enable-dark-mode {