JSFiddle - React, Tailwind, and code Playground
HTML
<div class="portfolioImage">
<div class="image" style="width: 100%; height: 100%; background-image: url('http://placekitten.com/200/150');"></div>
<div class="footerBar">A Sample Image</div>
</div>
CSS
.portfolioImage {
width: 200px;
height: 150px;
position: relative;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
ms-transition: all 0.3s ease;
transition: all 0.3s ease;
opacity: 1.0;
z-index: 3;
}
.image:hover{
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
}
.footerBar {
position: absolute;
top: 50%;
left: 25%;
display: none;
text-align:center;
color:#000;
}
JavaScript
$('.portfolioImage').hover(function(){
$('.footerBar').show();
},
function() {
$('.footerBar').hide();
}
);