I have a video gallery section in which two versions, normal and hover, of a play button are absolutely positioned above a preview image of a video. For some reason the play buttons do not show at all in Firefox. The current version of the page is here, and the code is as follows:
<div class="videoPreview">
<div class="videoPreviewImg">
<img src="img/promo/groupFitness.jpg">
<i class="playButtonHover"></i>
<i class="playButton"></i>
</div>
</div>
div.videoPreview {
float: left;
display: inline-block;
width: 21%;
margin: 2%;
margin-bottom: 0;
}
div.videoPreview:last-child {
margin-bottom: 2%;
}
div.videoPreviewImg {
position: relative;
}
div.videoPreviewImg img {
max-width: 100%;
z-index: 1;
}
div.videoPreviewImg i {
position: absolute;
z-index: 5;
top: 50%;
left: 50%;
margin-top: -24px;
margin-left: -24px;
-webkit-transition: opacity .7s ease-in-out;
-moz-transition: opacity .7s ease-in-out;
-o-transition: opacity .7s ease-in-out;
transition: opacity .7s ease-in-out;
}
div.videoPreviewImg:hover i.playButton {
opacity: 0;
}
Any help would be very much appreciated!