CSS fill-opacity property
Browser support · legacy reference
ChromePartial support
SafariPartial support
FirefoxPartial support
Internet ExplorerNot supported
EdgePartial support
OperaPartial support
Description
CSS fill-opacity property shows the transparent behavior of the SVG element. An element may be fully or partially transparent.
Syntax
opacity : value between 0 and 1
Property values
partially transparency
-
It represents 50% transparency of the object (element).
- Try it
fill-opacity: 0.5;
Applicable to
It applies to SVG shapes.