JSFiddle - React, Tailwind, and code Playground

HTML

<div class='productList'>
    <div class='hoverbase1'>	
        <a href='http://kingfisher.org.au/library-shelving'>
			<img src="http://kingfisher.org.au/pic/library_shelving.jpg"/>
        </a>	
        <div class='hovertop1'>
            <a href='http://kingfisher.org.au/library-shelving'>
                <h3>Library Shelving</h3>
            </a>
        </div>
    </div>
</div>

CSS

.productList {
    width: 100%;
    max-width: 1120px;
    position: relative;
    margin: 0 auto;
}
.hoverbase1 {
    float:left;
    margin: 15px;
    width:250px;
    height: 250px;
    position: relative;
}
.hoverbase1 a br {
    display: none;
}
.hoverbase1 img {
    width: 250px;
    height: 250px;
    position: relative;
}
.hovertop1 {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    left: 0;
    background-color: white;
    border: 2px solid black;
    opacity: 0;
    display: table-cell;
    vertical-align: middle;
}
.hoverbase1 a:hover + .hovertop1, .hovertop1:hover {
    opacity: 1;
}