css.properties

fill-rule

The fill-rule property specifies the fill rule for SVG elements.

Formal Syntax

nonzero | evenodd

See specification

JavaScript Access

// Access via element.style
element.style.fillRule = 'nonzero';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
fill-rule134โ‰ค15
evenodd134โ‰ค15
nonzero134โ‰ค15

Related Properties