Usage of -moz-opacity property with CSS

The -moz-opacity property of an image is used to set the opacity of an image. This property is used to create a transparent image in Mozilla. IE uses filter:alpha(opacity=x) to create transparent images.

Example

You can try to run the following code to style an image and set opacity with CSS

   
   
   
      
   
Updated on: 2020-01-31T06:54:52+05:30

845 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements