index.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>全民洗碗</title>
  5. <meta charset="utf-8">
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0, minimal-ui" />
  8. <style>
  9. body {
  10. margin: 0px;
  11. padding: 0px;
  12. width: 100%;
  13. background:#f6b7f1;
  14. }
  15. canvas {
  16. margin-left:0px;
  17. margin-top:0px;
  18. margin-right:0px;
  19. margin-bottom:0px;
  20. padding:0px;
  21. border:0px;
  22. image-rendering: -o-crisp-edges;
  23. image-rendering: optimize-contrast;
  24. -ms-interpolation-mode: nearest-neighbor;
  25. -webkit-tap-highlight-color: rgba(0,0,0,0);
  26. -moz-tap-highlight-color: rgba(0,0,0,0);
  27. tap-highlight-color: rgba(0,0,0,0);
  28. user-select: none;
  29. -webkit-touch-callout: none;
  30. -webkit-user-select: none;
  31. -moz-user-select: none;
  32. -ms-user-select: none;
  33. }
  34. #spilgames-splash-screen{
  35. display:none;
  36. width: 100%;
  37. height: 100%;
  38. background: url('images/Splash_Image_GGG.png') top center no-repeat; /* Change "A10" to "GGG" or "Zibbo" based on the brand your game matches */
  39. position: absolute;
  40. z-index: 10000; /* Make sure its on top of the game */
  41. background-size: 90%;
  42. background-color:#f6b7f1; /* Change to #FFF for GGG or Zibbo branded games */
  43. }
  44. .spilgames-splash-screen-gone{
  45. display:none !important;
  46. }
  47. </style>
  48. <script src="viewporter.js"></script>
  49. </head>
  50. <body>
  51. <div id="spilgames-splash-screen" class="spilgames-splash-screen-gone"></div>
  52. <div id="viewporter" style="margin-top:-10px;">
  53. <canvas id="canvas" moz-opaque></canvas>
  54. </div>
  55. </body>
  56. <script src="TweenMax.min.js"></script>
  57. <script src="howler.js"></script>
  58. <script src="game.js"></script>
  59. <script src="app.js"></script>
  60. </html>