CSS · Properties — CSS Masking

clip-rule

The CSS clip-rule property. Initial value: nonzero. Inherited.

Syntax
clip-rule: nonzero | evenodd

Example

Try it

Notes

Media: visual. Applies to: limitedSVGElementsGraphics. Computed value: asSpecified.

More in this group

clip-path mask mask-border mask-border-mode mask-border-outset mask-border-repeat mask-border-slice mask-border-source

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