JSFiddle - React, Tailwind, and code Playground

HTML

<body>
<div id="gallery">
<div id="galleryelements">
<div class="s-thumbnail left"></div>
<div class="thumbnail left"></div>
<div id="Mimage" class="right"></div>
<div class="thumbnail right"></div>
<div class="s-thumbnail right"></div>
</div>
</div>
</body>
</html>

CSS

#gallery {
width: 688px;
height: 360px;
border: solid;
}

#galleryelements {
width: 650px;
height: 320px;
display:inline;
background-color:#0FF;
}

.s-thumbnail {
width: 50px;
height: 75px;
border: solid;
}

.thumbnail {
width: 100px;
height: 150px;
border: solid;  
}

.left {
float:left;
}

.right {
float:right;    
}

#Mimage {
width: 200px;
height: 300px;
border: solid;  
}