Forum Moderators: not2easy
<div class="video-thumbnail">
<a href=#"><img src="img"></a>
</div>
.video-thumbnail {
position: relative;
}
.video-thumbnail:after {
content: '';
display: block;
position: absolute;
top: 40px;
left: 50%;
margin: -20px 0 0 -10px;
background: url('../img/tv_play_hover.png') no-repeat;
opacity: 0.8;
z-index: 998;
width: 50px;
height: 50px;
}
.tv-features .video-thumbnail a {
display: block;
z-index: 999;
position: relative;
}
<div class="video-thumbnail">
<a href=#">
<div class="play-icon">
<img src="img">
</div>
</a>
</div>
<!DOCTYPE html>
I may have misunderstood the requirement but why didn't you just use the :after pseudo class on the anchor and it will be part of the anchor anc clickable?
.play-icon {
position: relative;
display: block;
}
.play-icon:after {
content: '';
display: block;
position: absolute;
top: 50%;
left: 50%;
margin: -28px 0 0 -10px;
background: url('../img/tv_play.png') no-repeat;
opacity: 0.8;
z-index: 999;
width: 50px;
height: 50px;
}