解決辦法:
iframe外面需要一個容器,添加css
css代碼:
.container{ height:100px; overflow: auto; -webkit-overflow-scrolling: touch; } .frame{ width:100%; height:100%; }
html代碼:
<div class="container"> <iframe class="frame" src=""> </div>
解決辦法:
iframe外面需要一個容器,添加css
css代碼:
.container{ height:100px; overflow: auto; -webkit-overflow-scrolling: touch; } .frame{ width:100%; height:100%; }
html代碼:
<div class="container"> <iframe class="frame" src=""> </div>
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。