I have container for video which looks like this: screenshot1
HTML:
<div class="video-item col-xs-6 col-md-4">
<div class="opacity-layer"></div>
<div class="play-block">
<div class="landing-play-button"></div>
</div>
<img src="image.jpg">
</div>
CSS:
.opacity-layer{
position: absolute;
background-color: white;
width: 100%;
height: 100%;
opacity: 0.5;
}
.play-block{
position: absolute;
width: 90%;
height: 55%;
border: solid white 4px;
margin: 5% 5%;
opacity: 0.5;
/*background-color: #f5f5f5;*/
cursor: pointer;
}
.play-block:hover{
background-color: transparent;
}
and on "hover" I want remove 'opacity-layer' only within 'play-block', something like here: screenshot2.