"A11Y: Add prefers reduced motion" (#14859)

This commit is contained in:
Jordan Vidrine 2021-11-09 10:24:31 -06:00 committed by GitHub
parent ec3758b573
commit 520a0cfa2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -584,7 +584,9 @@ button {
/* start state */
.mfp-content {
opacity: 0;
transition: all 0.2s;
@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);