JSFiddle - React, Tailwind, and code Playground

HTML

<div class="div_test"><img class="img_test" src="http://www.joomlaworks.net/images/demos/galleries/abstract/7.jpg" /></div>
<div class="div_test"><img class="img_test" src="http://mintywhite.com/wp-content/uploads/2012/10/fond-ecran-wallpaper-image-arriere-plan-hd-29-HD.jpg" /></div>
<div class="div_test"><img class="img_test" src="http://images.playfrance.com/news/64941/zoom/0297.jpg" /></div>

CSS

.div_test{
    width:256px;
    height:256px;
}

.img_test{
    width:100%;
}