Fix transition style breaking transitionend event
This commit is contained in:
parent
2997b7c568
commit
279ec0bdff
1 changed files with 3 additions and 3 deletions
|
@ -67,11 +67,11 @@ select {
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove _all_ animations and transitions for people that prefer not to see them */
|
/* Remove transitions for people that prefer not to see them */
|
||||||
|
/* Animations should be handled manually */
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
* {
|
* {
|
||||||
animation-play-state: paused !important;
|
transition-duration: 0.01ms !important;
|
||||||
transition: none !important;
|
|
||||||
scroll-behavior: auto !important;
|
scroll-behavior: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue