1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
body { background-color: #333; } html, body, #interactive-pacbot, #interactive-pacbot>canvas { margin: 0px; padding: 0px; } html, body, #interactive-pacbot { height: 100%; width: 100%; } #interactive-pacbot>canvas { margin-left: auto; margin-right: auto; max-height: 100%; max-width: 100%; height: auto; width: auto; }