时间:2021-07-01 10:21:17 帮助过:34人阅读
iphone:980px
Galaxy(盖乐世):980px
Nexus:980px
blackberry(黑莓):980px
LG:980px
Nokia:980px
kindle:1600px
ipad:980px
iPad pro:1024px
测试代码:
1 <!DOCTYPE html> 2 <html lang="zh"> 3 <head> 4 <meta charset="UTF-8" /> 5 <meta http-equiv="X-UA-Compatible" content="ie=edge" /> 6 <title>移动端网页宽度值(未加meta viewport标签)</title> 7 </head> 8 <body> 9 <script type="text/javascript">10 alert(document.body.scrollWidth);11 </script>12 </body>13 </html>
总结:
基本都是980px,除了ipad pro特殊。
以上就是分享移动端网页宽度值实例代码的详细内容,更多请关注Gxl网其它相关文章!