* { margin:0; padding:0 } html,body { width:100%; height:100%; overflow:hidden; background-color:#222; } #canvas { position:absolute; top:0; left:0; }