+ 4

How to set Background-image opacity.

Which property or value is needed to set the opacity of background image.

1st Sep 2018, 2:37 AM
Aaditya Jha
Aaditya Jha - avatar
6 Respuestas
+ 1
try this sir .image { background: dir/image.jpg; opacity: 0.5; }
1st Sep 2018, 5:56 AM
Xuro
Xuro - avatar
+ 3
I don't think, there's any property particularly for the opacity of background image but there is the property "opacity" and I think, if you try, you can make it to change the opacity of your background image as well.
1st Sep 2018, 2:49 AM
Шащи Ранжан
Шащи Ранжан - avatar
+ 1
I think if we put linear-gradient with the url of the image we can set the opacity of the image. I have google it
1st Sep 2018, 2:53 AM
Aaditya Jha
Aaditya Jha - avatar
0
how can I get an image URL for my site?.... I can not seem to get the image alone... all the other properties of the site come along with the url
1st Sep 2018, 5:14 PM
John
John - avatar
0
I mean I wanted to get the image from Google
1st Sep 2018, 5:16 PM
John
John - avatar