From 0fde6c58a587fe1969ca9c729d6375db17304f5d Mon Sep 17 00:00:00 2001 From: Carbon Copy Date: Fri, 4 Oct 2019 05:43:53 +1000 Subject: [PATCH] Replace animation styles with new technique --- src/reset.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/reset.css b/src/reset.css index d837930..f7c6d24 100644 --- a/src/reset.css +++ b/src/reset.css @@ -67,10 +67,11 @@ select { font: inherit; } -/* Remove transitions for people that prefer not to see them */ -/* Animations should be handled manually */ +/* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { * { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }