+ 4

Queation

How can I make an image transparent so I can insert texts inside it in html?

16th May 2019, 7:48 AM
Godswill francis
Godswill francis - avatar
6 Answers
+ 4
So cn I now write on to of d image?
16th May 2019, 8:16 AM
Godswill francis
Godswill francis - avatar
+ 4
Alryt. thanks alot
16th May 2019, 9:52 AM
Godswill francis
Godswill francis - avatar
+ 4
Problem not solved. straight to point; how do I insert image as an article background?
16th May 2019, 2:19 PM
Godswill francis
Godswill francis - avatar
16th May 2019, 11:30 AM
Gordon
Gordon - avatar
+ 2
https://www.w3schools.com/css/css_image_transparency.asp img { opacity: 0.5; filter: alpha(opacity=50); /* For IE8 and earlier */ } This will apply to all images. If you want opacity to single image - assign class or id and refer in CSS code to class name or id.
16th May 2019, 8:02 AM
domind
domind - avatar
+ 1
Not sure what you are asking? You place text on top of image. Also image do not to have to be transparent for this. Guess what you might need is not to place image with img, but try to set image as background property.
16th May 2019, 8:26 AM
domind
domind - avatar