-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1 lines (1 loc) · 1013 Bytes
/
index.html
1
<!DOCTYPE HTML><html><head><title>REVERSEGRAVITY</title><meta name=viewport content="width=device-width, initial-scale=1, maximum-scale=1"><style>body{margin:0;padding:0;background:#000}#canvas{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;background:silver}#gameOver{display:none;width:300px;height:300px;position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;font-family:Arial;color:#eaeaea;font-size:24px;text-align:center}#center{position:relative;padding:50px;background:#444;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%)}button{border:0;padding:8px 15px;font-size:18px;outline:0;color:#444}button:hover{cursor:pointer;background:#eee}</style></head><body><canvas id=canvas width=480 height=320></canvas><div id=gameOver><div style=height:100%><div id=center> Game Over<br><br><span style=font-size:16px id=run></span><span style=font-size:16px id=best></span><br><button id=playAgain>Play Again</button></div></div></div><script src=game.js></script></body></html>