JSFiddle - React, Tailwind, and code Playground
HTML
<div align="center">
<div class="img_block">
<a href="#"><img src="http://placephant.com/300" />
<div class="over_block"></div>
<span>ВАШ ТЕКСТ ЗДЕСЬ :)</span>
</a>
</div>
</div>
CSS
.img_block {
max-width:250px;
height: 250px;
background:#f6f6f6;
text-align:center;
font-family: 'Roboto', sans-serif;
font-weight:400;
border-width: 4px;
border-style: solid;
border-color: #DDDDDD;
box-shadow: 10px 10px 6px -6px #777777;
display:block;
overflow: hidden;
position: relative;
-moz-transition: all .4s;
-webkit-transition: all .4s;
-o-transition: all .4s;
transition: all .4s;
cursor:pointer;
position: relative
}
.img_block .over_block {
background-color:rgba(0, 160, 150, 0);
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
z-index: 9900;
-moz-transition:all 1s;
-webkit-transition:all 1s;
-o-transition:all 1s;
transition:all 1s;
}
.img_block:hover .over_block {
display:block;
background-color:rgba(0, 160, 150, 0.7);
}
.img_block span {
background: rgba(0, 92, 44, 0.5);
width:100%;
height:0px;
text-transform:uppercase;
font-size:11px;
line-height:60px;
position:absolute;
display:block;
overflow: hidden;
top:0px;
left:0;
z-index: 9910;
-moz-transition: all .4s;
-webkit-transition: all .4s;
-o-transition: all .4s;
transition: all .4s;
}
.img_block:hover span {
top:0;
height:60px;
color: #ffffff;
}