<div id="main" style="max-width: 1920px;margin: auto"></div>
var vh= window.innerHeight*0.7;
var vw= window.innerWidth*0.7;
console.log(vh);
document.getElementById('main').style.setProperty('height',vh+'px');
document.getElementById('main').style.setProperty('width',vw+'px');