body { margin: 0; } iframe { height:calc(100vh - 4px); width:calc(100vw - 4px); box-sizing: border-box; }