JSFiddle - React, Tailwind, and code Playground
HTML
<div class="img-link">
<a href="http://nataliemac.com">
<img src=" http://blogs.goucher.edu/discover/files/2014/10/cultures-africa.jpg" width="700" height="395" />
<span class="text-content"><span><img src="http://blogs.goucher.edu/discover/files/2014/10/more.png"/></span></span>
</a>
</div>
<p>size this window smaller, then hover over the image.</p>
CSS
img {
max-width: 100%;
height: auto;
}
.img-link {
display: inline-block;
position: relative;
}
span.text-content {
background: rgba(0,118,180,0.6);
color: white;
cursor: pointer;
display: table;
left: 0;
position: absolute;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
-webkit-transition: opacity 500ms;
-moz-transition: opacity 500ms;
-o-transition: opacity 500ms;
transition: opacity 500ms;
}
span.text-content span {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.img-link:hover span.text-content {
opacity: 1;
}