feat(a11y): honor prefer-reduced-motion
This commit is contained in:
parent
c255e3f025
commit
cb776872aa
3 changed files with 21 additions and 0 deletions
|
|
@ -937,4 +937,12 @@ $flash-background-duration: 750ms;
|
|||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@keyframes flash-background {
|
||||
0% {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in a new issue