JSFiddle - React, Tailwind, and code Playground
HTML
<div style="resize: both; overflow: auto; position: absolute; width: 265px; height: 255px;">
<img src="http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png" alt="stackoverflow icon" style="
width: 100%;
height: 100%;
">
</div>