flood-opacity property
Specifies the opacity value to use with feFlood elements.
This property is read/write.
![]() ![]() |
Syntax
flood-opacity:
<opacity-value>
| inherit
Property values
- opacity-value
-
The uniform opacity setting to be applied to the object, as a number. This value is a floating-point number between 0 and 1. Any values outside the range
0.0(fully transparent) to1.0(fully opaque) are limited to this range. inherit-
Use the computed value of this property from an ancestor element.
CSS information
| Applies To | feFlood elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value | 1 |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.16
Remarks
As of Microsoft Edge, this presentation attribute is animatable with CSS Animations and CSS Transitions.
See also
Show:

