clip-path property

Image Tutorials

Definition and Usage

  • InitialSee the initial clipping path: ‘overflow’ and ‘clip’ properties
  • Applies toall elements
  • Inheritedno
  • Mediavisual
  • Computed Value

Syntax

clip-path: <uri> | none | inherit

Values

uri
<uri> | none | inherit

Examples

1 .target { clip-path: url(#c1); }
2 .anothertarget { clip-path: url(resources.svg#c1); }

Compatibility

Desktop browsers

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support NA NA NA NA NA
HTML elements NA 3.5 (1.9.1) NA NA NA

Mobile browsers

Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support NA NA NA NA NA
HTML elements NA 1.0 (1.9.1) NA NA NA

Rate article