From 279ec0bdffa35d9a497097247d13c04da9f5f527 Mon Sep 17 00:00:00 2001 From: Carbon Copy Date: Fri, 4 Oct 2019 05:09:40 +1000 Subject: [PATCH] Fix transition style breaking transitionend event --- src/reset.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reset.css b/src/reset.css index 2a26e6b..d837930 100644 --- a/src/reset.css +++ b/src/reset.css @@ -67,11 +67,11 @@ select { 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) { * { - animation-play-state: paused !important; - transition: none !important; + transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }