JSFiddle - React, Tailwind, and code Playground
HTML
<title>TEST</title>
</head>
<body>
<!-- content -->
<div class="container">
<div class="float">
<img src="http://cache2.allpostersimages.com/p/LRG/27/2707/9P1ND00Z/poster/cobb-jodi-a-chinese-lotus-flower.jpg" width="200" height="200">
<img src="http://cache2.allpostersimages.com/p/LRG/27/2707/9P1ND00Z/poster/cobb-jodi-a-chinese-lotus-flower.jpg" width="200" height="200">
</div>
<div class="float">
<img src="http://cache2.allpostersimages.com/p/LRG/27/2707/9P1ND00Z/poster/cobb-jodi-a-chinese-lotus-flower.jpg" width="200" height="100">
<img src="http://cache2.allpostersimages.com/p/LRG/27/2707/9P1ND00Z/poster/cobb-jodi-a-chinese-lotus-flower.jpg" width="200" height="100">
</div>
<div class="float">
<img src="http://cache2.allpostersimages.com/p/LRG/27/2707/9P1ND00Z/poster/cobb-jodi-a-chinese-lotus-flower.jpg" width="100" height="400">
<img src="http://cache2.allpostersimages.com/p/LRG/27/2707/9P1ND00Z/poster/cobb-jodi-a-chinese-lotus-flower.jpg" width="100" height="400">
</div>
</div>
<!-- end content -->
</body>
</html>
CSS
body {
background-color: #ffffff;
}
.container {
margin: 0;
padding: 0;
}
#img-container {
margin: 50;
padding: 0;
}
div.float {
overflow-y: scroll;
overflow-x: hidden;
}
.float {
float: left;
padding: 0 0 0 0;
}
.float img {
display: block;
margin: 50px;
padding: 0px;
}