Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * { margin:0; padding:0; } /* to remove the top and left whitespace */
- html, body { width:100%; height:100%; } /* just to be sure these are full screen*/
- canvas { display:block; } /* To remove the scrollbars */
- canvas {
- height: 100vh;
- width: 100vw;
- display: block;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement