0

Is there a property in HTML to increase the transparency of an image

8th Nov 2016, 10:34 AM
Itoroabasi Unang
Itoroabasi Unang - avatar
2 Respostas
+ 5
HTML doesn't have any transparency property. To control this, you will have to use CSS opacity property. You can add the following code between the <head></head> HTML element: <style> img { opacity: 0.5; filter: alpha(opacity=50); /* For IE8 and earlier */ } </style>
8th Nov 2016, 11:26 AM
Andrei Dragomir
0
thanks
8th Nov 2016, 8:54 PM
Itoroabasi Unang
Itoroabasi Unang - avatar