<div style="height:200px;width:300px;overflow:auto;">
<img src="https://www.positronx.io/wp-content/uploads/2019/03/galaxy-background-2634-02.jpg" alt="Image with scroll box">
</div>
body {
 padding-top: 25px;
 text-align: center;
 margin-bottom: 200%;
}

div {
  display: inline-block;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.