Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<div style="width: 100px; height: 100px; border: solid; box-sizing: border-box">
<div id="cell" style="width: 100%; height: 100%; background: green; overflow: auto">
<div style="width: 200px; height: 50px; background: hotpink; border: 2px solid yellow"></div>
</div>
</div>
<script>
onload = () => {
cell.scrollLeft = 120;
}
</script>