<!DOCTYPE html> | |
<div id="div" style="overflow: hidden; width: 200px; height: 200px;"> | |
<div style="background-color: green; height: 3000px; width: 100px"></div> | |
</div> | |
<iframe srcdoc=" | |
<style>::-webkit-scrollbar { display: none; }</style> | |
<div style='background-color: red; height: 3000px; width: 100px'></div>" | |
id="iframe", | |
width="200", | |
height="200", | |
scrolling="no"></iframe> |