fullscreen

This commit is contained in:
Giancarmine Salucci
2026-04-01 22:24:10 +02:00
parent 113bb12723
commit e4edc4d660
3 changed files with 86 additions and 2 deletions

View File

@@ -6,7 +6,10 @@
<title>Scopone Scientifico</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #1a5c2a; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; }
html, body { width: 100%; height: 100%; }
body { background: #1a5c2a; overflow: hidden; }
#game { width: 100vw; height: 100vh; }
#game:fullscreen { width: 100vw; height: 100vh; }
canvas { display: block; }
</style>
</head>