fullscreen
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user