JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id="scrollbox" class="box box-three">
<img src="http://placehold.it/465x100" alt="">
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Aenean ultricies mi vitae est. Mauris placerat eleifend leo</p>
</div>
</body>
CSS
/*
CSS-Tricks Example
by Chris Coyier
http://css-tricks.com
*/
* {
margin: 0;
padding: 0;
}
body {
font: 14px Georgia, serif;
}
#page-wrap {
width: 800px;
margin: 0 auto;
}
h1 {
padding: 20px 0 10px 0;
font: 26px Georgia, Serif;
clear: both;
}
.box {
width: 200px;
height: 200px;
padding: 10px;
border: 1px solid black;
float: left;
margin: 0 20px 0 0;
}
.box-three {
overflow: scroll;
-webkit-overflow-scrolling: touch;
}