zombie-fps / style.css
awzesxdrctfv's picture
Update style.css
317a431 verified
Raw History Blame Contribute Delete
507 Bytes
body, html {
margin: 0;
padding: 0;
overflow: hidden;
height: 100%;
width: 100%;
font-family: monospace;
user-select: none;
}
#gameCanvas {
width: 100%;
height: 100%;
touch-action: none;
display: block;
background-color: #000;
}
#crosshair {
position: absolute;
top: 50%;
left: 50%;
font-size: 30px;
color: white;
transform: translate(-50%, -50%);
pointer-events: none;
}
#score {
position: absolute;
top: 10px;
left: 10px;
color: white;
font-size: 20px;
}