CSS · Properties — Filter Effects

flood-opacity

The CSS flood-opacity property. Initial value: black. Not inherited.

Syntax
flood-opacity: <'opacity'>

Example

Try it

Notes

Media: visual. Applies to: limitedSVGElementsFloodAndDropShadow. Computed value: specifiedValueClipped0To1.

More in this group

backdrop-filter color-interpolation-filters flood-color lighting-color

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course