From 460d5ef60d6e341ef31f93434feece660eb54a45 Mon Sep 17 00:00:00 2001 From: karl Date: Sat, 16 Oct 2021 19:01:18 +0200 Subject: [PATCH] White flash on game over --- index.html | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b8c346b..8eb3cc3 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,11 @@ animation: cycle_sprites 300ms steps(1) infinite; } + .opacity-transition { + transition-property: opacity; + transition-duration: 1s; + } + @-webkit-keyframes cycle_sprites { 0% { background-position: -330px -1371px; @@ -74,6 +79,12 @@
+
+