I have a span which is circular black in color,and it has a background image as a property. I want the span to have an opacity of 0.75 but the background image should have opacity 1. On hover the opacity of background image and span should be 1.
.left-arrow-black-bar {
display: inline-block;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #000;
text-align: center;
opacity: 0.75;
background-image: url('https://image.ibb.co/bJD73R/arrow_left.png');
background-repeat: no-repeat;
background-position: center;
background-size: 10px 18px;
}
.left-arrow-black-bar:hover {
opacity: 1;
}
<span class="left-arrow-black-bar"></span>