Advertisement
Guest User

Untitled

a guest
Sep 26th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. </style>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <style>
  8. body{ position: relative; margin:100px; background:#177245; }
  9. #my_canvas{ background:#77DD77; border:#000 1px solid;
  10. }
  11. #my_canvas {
  12. width: 100%; height: 100%;
  13. }
  14. html, body {
  15. overflow-x: hidden;
  16. }
  17. body {
  18. position: relative;
  19. }
  20. </style>
  21. <body>
  22. <body>
  23. <div>
  24. <canvas id="my_canvas" width="1920" height="1080"></canvas>
  25. <button id="down_btn" style="position: absolute; top:200px; left:20px">Giù ↓</button>
  26. </div>
  27.  
  28. <div id="Shot" style="display: inline-block; text-align:center; float: right; position: relative;">
  29. <button id="fire_btn">Colpo</button>
  30. </div>
  31. <style>
  32. button{
  33. background-color: #FF8800;
  34. border: 2px solid #FCA800;
  35. color: #fff;
  36. font-weight: bold;
  37. padding: 0;
  38. height: 25px;
  39. width: 80px;
  40. }
  41. </style>
  42.  
  43. <div id="UDRL" style="display: inline-block; text-align:center; float: left; position: relative;">
  44. <div>
  45.  
  46. <button id="up_btn">Su ↑</button>
  47. </div>
  48. <div>
  49. <button id="left_btn">← Sinistra</button>
  50. <button id="right_btn">Destra →</button>
  51. </div>
  52. </body>
  53. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement