fill-rule
An SVG property that determines how the interior of a complex shape (with overlapping paths) is filled with color.
Usage example
path {
/* Uses the even-odd rule to determine fill area */
fill-rule: evenodd;
} Initial value
nonzero
Inherited
Yes
Applies to
limitedSVGElementsShapeText
Animation type
discrete
Values
nonzeroevenodd fill-rule Browser Support
Widely available Since 2020 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
Safe to use without fallbacks.
1+
3+
4+
15+