JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrapper">
  <div class="scroll">
      <img src="http://placehold.it/150x150" />
      <img src="http://placehold.it/150x150" />
      <img src="http://placehold.it/150x150" />
      <img src="http://placehold.it/150x150" />
      <img src="http://placehold.it/150x150" />
      <img src="http://placehold.it/150x150" />
  </div>
  </div>

CSS

.wrapper { 
        width: 200px;
        height: 200px;
        background:#EFEFEF; 
        box-shadow: 1px 1px 10px #999; 
        margin: auto; 
        text-align: center; 
        position: relative;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        padding-top: 5px;
    }

    .scroll { 
        overflow-x: scroll;
        overflow-y: hidden;
        height: 200px;
        white-space:nowrap;
    } 
    
    img { 
        box-shadow: 1px 1px 10px #999; 
        margin: 2px;
        max-height: 150px;
        cursor: pointer;
        display:inline-block;
        *display:inline;
        *zoom:1;
        vertical-align:top;
    }