+ 18

Is there a way to adjust the tranperency of an image in HTML or CSS?

18th Dec 2017, 6:27 AM
Sreelakshmy
Sreelakshmy  - avatar
3 Answers
+ 4
You could add linear gradient onto a background image to make it less transparent.. https://code.sololearn.com/WGeXCDL6IMRg/?ref=app https://code.sololearn.com/Wv0Pn8F2GWR6/?ref=app
18th Dec 2017, 6:53 AM
CalviŐČ
CalviŐČ - avatar
+ 3
image{ opacity:0.5; } Wait not sure it works
18th Dec 2017, 7:47 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
hope this helps , it's self explanatory code https://code.sololearn.com/WtmaPIKZl5RL/?ref=app
23rd Dec 2017, 3:51 AM
Morpheus
Morpheus - avatar