html, body { height: 100%; width: 100%; margin: 0; } #phasebeam { display: inline-block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; } #phasebeam canvas { display: inline-block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
Copier le code
C'est copié !