"A11Y: Add prefers reduced motion" (#14859)
This commit is contained in:
parent
ec3758b573
commit
520a0cfa2b
|
@ -584,7 +584,9 @@ button {
|
|||
/* start state */
|
||||
.mfp-content {
|
||||
opacity: 0;
|
||||
@media screen and (prefers-reduced-motion: no-preference) {
|
||||
transition: all 0.2s;
|
||||
}
|
||||
-webkit-transform: scale(0.8);
|
||||
-ms-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
|
|
Loading…
Reference in New Issue