diff --git a/code/game.css b/code/game.css index a5cb9d7..92f083d 100644 --- a/code/game.css +++ b/code/game.css @@ -97,9 +97,9 @@ .child { position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } .parent { diff --git a/code/game.html b/code/game.html index edf2d5d..63ce4b7 100644 --- a/code/game.html +++ b/code/game.html @@ -19,19 +19,18 @@