Fix transition style breaking transitionend event

This commit is contained in:
Carbon Copy 2019-10-04 05:09:40 +10:00
parent 2997b7c568
commit 279ec0bdff

View file

@ -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;
} }
} }