安卓手机里,h5页面没有充满body导致左右滑动,设置overflow-x:hidden;

2025-03-14 22:24:22
推荐回答(1个)
回答1:

html,body {width:100%;height:100%;overflow-x:hidden;}
加上这句,就好了