JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="image-container">
<img src="http://jsfiddle.net/img/logo.png" width="272" height="46"/>
</div>
<a class="link" href="#">Link</a>
</div>
CSS
.container {
position: relative;
width: 272px;
height: 46px;
background: #69c;
overflow: hidden;
}
.image-container {
position: absolute;
top: 0;
left: 0;
}
.image-container img {
opacity: 0.5;
border-radius: 8px;
}
.container:hover img {
opacity: 1;
}
.link {
display: block;
position: absolute;
right: 0;
bottom: -20px;
width: 100px;
height: 20px;
background: rgba(255,0,0,0.5);
transition: all 0.1s ease 0s;
}
.container:hover .link {
bottom: 0px;
}