clip-rule
An SVG-related property that determines how to calculate the 'insideness' of a point in a clipping path. 'Evenodd' is often used for complex shapes with holes.
It is documented as part of the CSS Masking specification.
Syntax
/* Usage Example */
path {
/* SVG property for complex clipping shapes */
clip-rule: evenodd;
}
/* Syntax */
clip-rule: nonzero;
clip-rule: evenodd;
/* Global values */
clip-rule: inherit;
clip-rule: initial;
clip-rule: revert;
clip-rule: revert-layer;
clip-rule: unset;
clip-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.
15+
3.5+
5+
79+