Merge pull request #6 from atomiks/fix-transitionend
Fix styles breaking transitionend/animationend event
This commit is contained in:
commit
b9fc9a3685
1 changed files with 4 additions and 3 deletions
|
@ -67,11 +67,12 @@ select {
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove _all_ animations and transitions for people that prefer not to see them */
|
/* Remove all animations and transitions for people that prefer not to see them */
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
* {
|
* {
|
||||||
animation-play-state: paused !important;
|
animation-duration: 0.01ms !important;
|
||||||
transition: none !important;
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.01ms !important;
|
||||||
scroll-behavior: auto !important;
|
scroll-behavior: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue