获取页面宽高API
var pageWidth=document.documrntElement.clientWidth; var pageHeight=document.documentElement.clientHeight; xx自定义xx.width=pageWidth; xx自定义xx.height=pageHeight;
Collect~Something else
原文:https://www.cnblogs.com/BUBU-Sourire/p/11078668.html