clip-path property
Author admin Reading 1 min Views 409 Published by Modified by
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 |