Gets or sets a value that specifies object or group opacity in Cascading Style Sheets (CSS) or Scalable Vector Graphics (SVG).
opacity: <alphavalue> | inherit
A Floating-point value between 0.0 (fully transparent) and 1.0 (fully opaque), inclusive.
Indicates that the property takes the same computed value as the property for the element's parent.
|Applies To||All elements|
- CSS Color Module Level 3, Section 3.2
The opacity setting is applied uniformly across the entire object. Any values outside the range 0.0 to 1.0 will be clamped to this range.
Object or group opacity can be thought of conceptually as a postprocessing operation. Conceptually, after the object or group is rendered into an RGBA offscreen image, the object or group opacity setting specifies how to blend the offscreen image into the current background.
Build date: 11/17/2013