CSS · Properties — Scalable Vector Graphics

fill-opacity

The CSS fill-opacity property. Initial value: 1. Inherited.

Syntax
fill-opacity: <'opacity'>

Example

Try it

Notes

Media: visual. Applies to: limitedSVGElementsShapeText. Computed value: specifiedValueNumberClipped0To1.

More in this group

cx cy d fill fill-rule marker-end marker-mid marker-start

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