glcanvas/style.css

22 lines
293 B
CSS
Raw Normal View History

2024-08-05 23:29:12 -04:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
2024-09-17 21:45:26 -04:00
overflow: hidden;
2024-08-05 23:29:12 -04:00
}
canvas {
position: absolute;
2024-09-17 21:45:26 -04:00
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100vw;
height: auto;
aspect-ratio: 16/9;
image-rendering: pixelated;
2024-08-05 23:29:12 -04:00
}