<div style="height:120px;width:120px;overflow-x:auto;border:10px solid pink;padding:1.5%">
<p style="width:300%;">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan metus vitae purus tempor, vel sollicitudin nulla aliquam. Morbi tincidunt tellus nec nibh faucibus porttitor.
</p></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.