mirror of https://github.com/twbs/bootstrap.git
Add active scale effect to animate-img (#40878)
BrowserStack / browserstack (push) Waiting to run
Details
Bundlewatch / bundlewatch (push) Waiting to run
Details
CodeQL / Analyze (push) Waiting to run
Details
cspell / cspell (push) Waiting to run
Details
CSS / css (push) Waiting to run
Details
Docs / docs (push) Waiting to run
Details
JS Tests / JS Tests (push) Waiting to run
Details
Lint / lint (push) Waiting to run
Details
CSS (node-sass) / css (push) Waiting to run
Details
Release notes / update_release_draft (push) Waiting to run
Details
BrowserStack / browserstack (push) Waiting to run
Details
Bundlewatch / bundlewatch (push) Waiting to run
Details
CodeQL / Analyze (push) Waiting to run
Details
cspell / cspell (push) Waiting to run
Details
CSS / css (push) Waiting to run
Details
Docs / docs (push) Waiting to run
Details
JS Tests / JS Tests (push) Waiting to run
Details
Lint / lint (push) Waiting to run
Details
CSS (node-sass) / css (push) Waiting to run
Details
Release notes / update_release_draft (push) Waiting to run
Details
* 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 {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
&:active > img {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@if $enable-dark-mode {
|
||||
|
|
Loading…
Reference in New Issue