CSS clip-rule Property Reference

The CSS clip-rule property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

CSS clip-rule Property Reference

The CSS clip-rule property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

clip-rule overview

The CSS clip-rule property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

clip-rule formal syntax
FieldValue
Formal syntaxnonzero | evenodd
Initial valuenonzero
Applies tolimitedSVGElementsGraphics
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Masking
StatusStandard

Practical examples

These declarations demonstrate valid ways to set clip-rule. The initial and inherit global keywords remain available even when a property-specific value is preferable.

clip-rule live example
CSS .reset-example { clip-rule: initial; } .inherit-example { clip-rule: inherit; } @supports (clip-rule: initial) { .supported { clip-rule: initial; } }

Description

The CSS clip-rule property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: clip-rule
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies