From 19dd5aa87e6f6734ddbc96a83f39f19abdd96bcc Mon Sep 17 00:00:00 2001 From: Mashy Date: Tue, 8 Jan 2019 18:53:25 +1000 Subject: [PATCH] Center game window --- client/cryps.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/cryps.css b/client/cryps.css index 3f4dd227..b0020329 100644 --- a/client/cryps.css +++ b/client/cryps.css @@ -13,3 +13,12 @@ body { background-color: #181818; } + +canvas{ + display:block; + margin: 0; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} \ No newline at end of file