I want to use image as background in my website and want to change its opacity but when I does that instead of image other elements opacity gets reduce.
currently I am using image as background through CSS in the body part but, by doing this I am unable to reduce its opacity. when I try to use it image as background into the other part of the html it isn't working.
body{
background-image: url('images/wallpaper.jpg');
background-repeat: no-repeat;
height: 100vh;
width: 100vw;
background-size: cover;
}
how should I reduce the opacity....opacity: 0.3; is not working for me. as its reducing the html opacity.