21 lines
263 B
CSS
21 lines
263 B
CSS
|
* {
|
||
|
box-sizing: content-box;
|
||
|
}
|
||
|
|
||
|
html, body {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
margin: 0;
|
||
|
display: grid;
|
||
|
grid-template-columns: minmax(0, 1fr);
|
||
|
grid-template-rows: minmax(0, 1fr);
|
||
|
}
|
||
|
|
||
|
#canvas {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background: black;
|
||
|
}
|