Download index.html from pbolo/game1: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/pbolo/game1/resolve/main/index.html
- Command line
-
hf download hf://spaces/pbolo/game1/index.html
-
curl -L -o index.html https://huggingface.co/spaces/pbolo/game1/resolve/main/index.html
1.05 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Pixel Survival - PixiJS v8</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body, html { | |
| width: 100%; | |
| height: 100%; | |
| background-color: #000; | |
| overflow: hidden; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| #game-container { | |
| width: 90vmin; | |
| height: 90vmin; | |
| background-color: #111; | |
| box-shadow: 0 0 20px rgba(0,0,0,0.5); | |
| border: 4px solid #333; | |
| } | |
| #game-container canvas { | |
| width: 100%; | |
| height: 100%; | |
| display: block; | |
| image-rendering: pixelated; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="game-container"></div> | |
| <script type="module" src="game.js"></script> | |
| </body> | |
| </html> |