]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add active scale effect to animate-img (#40878)
authorMohamad Salman <139472418+MohamadSalman11@users.noreply.github.com>
Thu, 3 Apr 2025 06:55:08 +0000 (08:55 +0200)
committerGitHub <noreply@github.com>
Thu, 3 Apr 2025 06:55:08 +0000 (23:55 -0700)
* Add active scale effect to animate-img

* Update _masthead.scss

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
site/assets/scss/_masthead.scss

index 3ea7ff232ef9a211a3d70780e0ef557bf505c42a..c6566d95d73d07452feef8efeee50cb3bd9d53cd 100644 (file)
   &:hover > img {
     transform: scale(1.1);
   }
+
+  &:active > img {
+    transform: scale(1);
+  }
 }
 
 @if $enable-dark-mode {