clip-path property CSS Reference



Definition and Usage

  • Initial See the initial clipping path: 'overflow' and 'clip' properties
  • Applies to all elements
  • Inherited no
  • Media visual
  • Computed Value 

Syntax

clip-path: <uri> | none | inherit

Values

uri
<uri> | none | inherit

Examples

.target { clip-path: url(#c1); }
.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

Relative articles