In a css style I have the following
.back::after {
content: "";
background-image: url(../images/patch.png);
background-repeat: repeat;
opacity: 0.6;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}
anyway using jQuery : $(".back ::after").css("opacity","0.9")
to select the ::after
element to change opacity doesnt work ! any idea how to do this ?