I'm currently experiencing an issue with my video gallery section. I have both normal and hover versions of a play button positioned above a preview image of a video. However, the play buttons are not visible at all in Firefox. You can view the page here, and here is the code snippet:
<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;
}
I would really appreciate any assistance with this problem!