-moz-opacity | NN 6 IE n/a CSS n/a |
Inherited: No | |
Controls the level of opacity of the element. The lower the value, the more transparent the element becomes. This is the proprietary Mozilla version of the proprietary Microsoft opaque filter. |
|
CSS Syntax | |
-moz-opacity: alphaValue
|
|
Value | |
The level of opacity is determined by a floating-point number between 0.0 and 1.0. A completely opaque rendering occurs at a value of 1.0. You may also use percentage values between 0% and 100%, but the proposed CSS3 recommendation for the opacity attribute calls for numbers only. |
|
Initial Value | |
1 |
|
Example | |
div#watermark {-moz-opacity:0.4} |
|
Applies To | |
All elements. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.MozOpacity
|