Center game window
This commit is contained in:
parent
94c9048976
commit
19dd5aa87e
@ -13,3 +13,12 @@
|
|||||||
body {
|
body {
|
||||||
background-color: #181818;
|
background-color: #181818;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
canvas{
|
||||||
|
display:block;
|
||||||
|
margin: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user