+ 2
Is there a way to change the opacity of a background image without affecting other elements using CSS
Background opacity
6 Respostas
+ 2
Maybe this helps
https://css-tricks.com/snippets/css/transparent-background-images/
+ 1
Thanks Regina Regenbogen that was exatly what i was looking for
+ 1
You are welcome Mario Glad I could help :)
0
You can use linear gradient
linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url('your image url hear');
0
No I mean making the background half transparent while the text is fully visible here for example the background is transparent but everything else in body too
body {
background:url(" ");
Opacity:0.5;
}