1. 首页
  2. 移动开发
  3. HTML5
  4. 用html页面测试逻辑分辨率

用html页面测试逻辑分辨率

上传者: 2020-08-16 06:32:44上传 HTML文件 198B 热度 14次
用window.innerWidth来测试当前的逻辑分辨率 <!DOCTYPE html> <html> <body> [removed] var p=document.getElementById('1'); p.innerText=window.innerWidth; p.innerText+=" "+window.innerHeight; [removed] </body> </html>
下载地址
用户评论