Closed rambo-panda closed 5 years ago
小米note 1
华为G750-T20
三星 S4
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>测试页面</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> </head> <body> <script src="https://cdnjs.cloudflare.com/ajax/libs/eruda/1.4.3/eruda.js"></script> <script>try{window.eruda.init();}catch(e){};</script> <style> .test { overflow-x: auto; width: 200px; white-space: nowrap; } </style> <div class="test">当内容超出设定的宽度时自动出现横向滚动条</div> </body> </html>
没看懂。。
测试环境
小米note 1
客户端webview华为G750-T20
三星 S4