小问题

131 阅读1分钟

不用clientWidth 不用offsetWidth 获取css样式表宽度的属性 getComputedStyle(document.getElementById("app")).width。