From 72a1e47d9d6934fd7d1ea7cc06b42fd776e74422 Mon Sep 17 00:00:00 2001 From: Dennis Chen <41879777+chennisden@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:46:01 -0700 Subject: [PATCH] Make CSS transition simultaneous on Chrome (#102) See https://stackoverflow.com/questions/73613614/css-transitions-queue-up-instead-of-playing-simultaneously-only-in-safari-and --- frontend/src/App.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index ec723fb7..d9641484 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -9,10 +9,7 @@ div.content { } } +html, body { - transition: color 0.3s ease; -} - -body * { - transition: inherit; + transition: color 0.4s ease; }