Skip to content

Commit 253db02

Browse files
MohamadSalman11mdo
andauthored
Add active scale effect to animate-img (#40878)
* Add active scale effect to animate-img * Update _masthead.scss --------- Co-authored-by: Mark Otto <[email protected]>
1 parent ed2bf13 commit 253db02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/assets/scss/_masthead.scss

+4
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
&:hover > img {
109109
transform: scale(1.1);
110110
}
111+
112+
&:active > img {
113+
transform: scale(1);
114+
}
111115
}
112116

113117
@if $enable-dark-mode {

0 commit comments

Comments
 (0)