CSS fill-opacity Property Reference

The CSS fill-opacity property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

CSS fill-opacity Property Reference

The CSS fill-opacity property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

fill-opacity overview

The CSS fill-opacity property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

fill-opacity formal syntax
FieldValue
Formal syntax<'opacity'>
Initial value1
Applies tolimitedSVGElementsShapeText
InheritedYes
PercentagesmapToRange0To1
Computed valuespecifiedValueNumberClipped0To1
Animation typebyComputedValueType
Mediavisual
Specification groupScalable Vector Graphics
StatusStandard

Practical examples

These declarations demonstrate valid ways to set fill-opacity. The initial and inherit global keywords remain available even when a property-specific value is preferable.

fill-opacity live example
CSS .reset-example { fill-opacity: initial; } .inherit-example { fill-opacity: inherit; } @supports (fill-opacity: initial) { .supported { fill-opacity: initial; } }

Description

The CSS fill-opacity property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: fill-opacity
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies