JSFiddle - React, Tailwind, and code Playground
HTML
<div class="gal_item gal_small">
<img src="http://beta.firedogcreative.com/media/images/thumbs/small.jpg" alt="Sample Small"/>
<div class="thumb_overlay">
<h4>Zaxby's</h4>
<p>:30 second spot</p>
</div>
</div>
CSS
.gal_item {
display: inline-block;
height: 213px;
margin: 2px 2px 1px 3px;
position: relative;
overflow: hidden;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
}
.gal_item img {
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
}
.gal_large {
width: 371px;
}
.gal_small {
width: 183px;
}
.gal_blank {
width: 183px;
}
.thumb_overlay {
background: #f2691f;
color: white;
width: 153px;
position: absolute;
bottom: 0px;
font-family: Archer;
padding: 12px 15px;
line-height: 1.3;
opacity: .75;
-webkit-border-bottom-left-radius: 20px;
-webkit-border-bottom-right-radius: 20px;
}
.gal_large>.thumb_overlay {
width: 371px;
}
.thumb_overlay h4 {
font-weight: 300;
font-size: 1.5em;
}
.thumb_overlay p {
font-weight: 300;
font-size: 1.1em;
color: black;
}
.gal_item > div {
display: none
}
.gal_item > img:hover + div {
display: block;
}
.gal_item > div:hover {
display: block;
}
.gal_item:hover {
left: -10px;
top: -10px;
}