I've tried to add the box-shadow to the img, the spaces between the images end up with a shadow even though I'm only setting the horizontal offset.
*{
box-sizing: border-box;
}
html, body{
width: 100%;
}
body{
margin:0 auto;
}
.wrapper{
display: flex;
height: 600px;
align-items: center;
}
img {
min-height: 400px;
max-height: 420px;
padding-right: 2em;
padding-left: 1em;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
<body>
<div class="wrapper">
<div class="img">
<img src="tree.jpg">
</div>
<img src="succulent.jpg">
<img src="car.jpg">
<img src="road.jpg">
<img src="over.jpg">
<img src="streetphoto.jpg">
<imgs src="yep.jpg">
</div>
</body>