JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://fontawesome.io/assets/font-awesome/css/font-awesome.css">
<div class="content">
<section>
<div class="cas">
<div class="icons">
<i class="fa fa-link" aria-hidden="true"></i>
<i class="fa fa-search" aria-hidden="true"></i></div>
</div>
</section>
</div>
CSS
.content {
background: #232323;
width: 1170px;
min-height: 1246px;
margin: 25% auto;
padding-top: 1px;
position: relative;
}
.content section {
width: 574px;
height: 350px;
margin: 20px 20px;
border: solid 3px #000;
position: relative;
}
.content section img {
width: 100%;
height: 100%;
position: absolute;
}
.content section a {
background: #f5b61f;
color: #fff;
font-size: 14px;
position: absolute;
left: 20px;
bottom: 20px;
text-transform: uppercase;
border: none;
padding: 8px 10px;
}
.cas {
width: 100%;
height: 100%;
position: absolute;
transition: 0.5s;
}
.cas:hover {
background: rgba(245, 182, 31, 0.7);
}
.cas .icons {
display: none;
position:absolute;
top:50%;
left:50%;
}
.cas i {
padding: 20px;
background: #fff;
}
.cas:hover .icons{
display: inline-block;
}