JSFiddle - React, Tailwind, and code Playground

by AaronLayton

HTML

<div class="container">
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/280x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/280x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/600x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/165x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/400x260" alt="" /></div>
    <div class="listProduct"><img src="http://placehold.it/280x260" alt="" /></div>
</div>

CSS

.listProduct {
    border:3px solid #f00;
        display:inline-block;
    height:260px;
    margin:0 5px 15px 0;
    min-width:165px;
}

.container {
    margin:0 auto;
    text-align:center;
    width:750px;
    
}