mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
"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;
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user