CSS Opacity Transparency

The opacity property specifies the opacity/transparency of an element.

Image Transparency

The  opacity  property can take a value from 0.0 - 1.0. The lower value, the more transparent:
Faisal Khan
Asked 09-11-2019
48

Answer (1)
The  opacity  property can take a value from 0.0 - 1.0. The lower value, the more transparent: Example: img {     opacity: 0.5;     filter: alpha(opacity=50); /* For IE8 and earlier */ } Note:  IE8 and earlier use  filter:alpha(opacity=x) . The x can take a value from 0 - 100. A lower value makes the element more transparent.
Deepak Sharma
Asked 18-02-2019
45 Likes
Comments
Write comment

Submit your answer