mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-06 23:57:36 +02:00
Add active scale effect to animate-img (#40878)
* Add active scale effect to animate-img * Update _masthead.scss --------- Co-authored-by: Mark Otto <markdotto@gmail.com>
This commit is contained in:
parent
ed2bf138a3
commit
253db02c85
@ -108,6 +108,10 @@
|
|||||||
&:hover > img {
|
&:hover > img {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:active > img {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@if $enable-dark-mode {
|
@if $enable-dark-mode {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user