Revision 28006 of clip-path

  • Revision slug: CSS/clip-path
  • Revision title: clip-path
  • Revision id: 28006
  • Created:
  • Creator: BijuGC
  • Is current revision? No
  • Comment 4 words added, 2 words removed

Revision Content

{{ CSSRef() }}



  • {{ Xref_cssinitial() }}: See The initial clipping path: 'overflow' and 'clip' properties
  • Applies to: all elements
  • {{ Xref_cssinherited() }}: no
  • Percentages: n/a
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}:


clip-path: <uri> | none | inherit


 uri : <uri> | none | inherit



.target { clip-path: url(#c1); }

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


Browser compatibility

Browser Lowest version
Internet Explorer  
Firefox (Gecko)  
Safari (WebKit)  

See also

Revision Source

<p>{{ CSSRef() }}</p>
<p> </p>
<ul> <li>{{ Xref_cssinitial() }}: See The initial clipping path: 'overflow' and 'clip' properties</li> <li>Applies to: all elements</li> <li>{{ Xref_cssinherited() }}: no</li> <li>Percentages: n/a</li> <li>Media: {{ Xref_cssvisual() }}</li> <li>{{ Xref_csscomputed() }}:</li>
<pre class="eval">clip-path: &lt;uri&gt; | none | inherit
<p> <strong>uri </strong>: &lt;uri&gt; | none | inherit</p>
<p> </p>
<pre>.target { clip-path: url(#c1); }

.anothertarget { clip-path: url(resources.svg#c1); }
<ul> <li><a class="external" href="" title="">Clipping, Masking and Compositing</a></li> <li><a class="external" href="" title="">CSS 3 SVG</a></li> <li><a class="external" href="" title="">SVG</a></li>
<h3>Browser compatibility</h3>
<table class="standard-table"> <tbody> <tr> <th>Browser</th> <th>Lowest version</th> </tr> <tr> <td>Internet Explorer</td> <td> </td> </tr> <tr> <td>Firefox (Gecko)</td> <td> </td> </tr> <tr> <td>Opera</td> <td> </td> </tr> <tr> <td>Safari (WebKit)</td> <td> </td> </tr> </tbody>
<h3>See also</h3>
<ul> <li>{{ Cssxref("clip-rule") }}, {{ Cssxref("mask") }}, {{ Cssxref("filter") }}</li> <li><a class="internal" href="/En/Applying_SVG_effects_to_HTML_content" title="En/Applying SVG effects to HTML content">Applying SVG effects to HTML content</a></li> <li><a class="internal" href="/en/SVG" title="En/SVG">SVG</a></li>
Revert to this revision