CSS clip-path Property Reference

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

CSS clip-path Property Reference

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

Updated 2026-08-12

clip-path overview

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

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

clip-path formal syntax
FieldValue
Formal syntax<clip-source> | [ <basic-shape> || <geometry-box> ] | none
Initial valuenone
Applies toallElementsSVGContainerElements
InheritedNo
PercentagesreferToReferenceBoxWhenSpecifiedOtherwiseBorderBox
Computed valueasSpecifiedURLsAbsolute
Animation typebasicShapeOtherwiseNo
Mediavisual
Specification groupCSS Masking
StatusStandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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