UNPKG

create-phaser-app

Version:

A boiler plate to start your phaser app with webpack4, babel7+ and Phaser 3

30 lines (27 loc) 702 B
html, body { /* Layout */ height: 100%; margin: 0; padding: 0; background: #111; color: #eee; font: caption; /* PIXELART PROPERTIES */ filter: none; image-rendering: -moz-crisp-edges; image-rendering: -webkit-crisp-edges; image-rendering: pixelated; image-rendering: crisp-edges; -ms-interpolation-mode: nearest-neighbor; image-rendering: -webkit-optimize-contrast; image-rendering: -webkit-crisp-edges; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: pixelated; } canvas { width: 100% !important; height: 100% !important; object-fit: contain; }