« SVG Attribute reference home
This attribute specifies the opacity of the color or the content the current object is filled with.
Usage context
Categories | Presentation attribute |
---|---|
Value | <opacity-value> | inherit |
Initial value | 1 |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
Examples
Elements
The following elements can use the fill-opacity
attribute: