Center game window

This commit is contained in:
Mashy 2019-01-08 18:53:25 +10:00
parent 94c9048976
commit 19dd5aa87e

View File

@ -13,3 +13,12 @@
body {
background-color: #181818;
}
canvas{
display:block;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}