fill-rule
An SVG property that determines how the interior of a complex shape (with overlapping paths) is filled with color.
Quick example
path {
/* Uses the even-odd rule to determine fill area */
fill-rule: evenodd;
} Quick facts
Initial value
nonzeroInherited
Yes
Applies to
a subset of SVG elements (shapes and text)
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+