Revision 12 of filter

  • Revision slug: CSS/filter
  • Revision title: filter
  • Revision id: 12
  • Created:
  • Creator: BijuGC
  • Is current revision? No
  • Comment 6 words added

Revision Content

{{ CSSRef() }}



  • {{ Xref_cssinitial() }}: none
  • Applies to: graphics and container elements
  • {{ Xref_cssinherited() }}: no
  • Percentages: n/a
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}:


filter: url(svg-url#element-id) 




.target { filter: url(#c1); }

.anothertarget { filter: 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() }}: none</li> <li>Applies to: graphics and container elements</li> <li>{{ Xref_cssinherited() }}: no</li> <li>Percentages: n/a</li> <li>Media: {{ Xref_cssvisual() }}</li> <li>{{ Xref_csscomputed() }}:</li>
<pre class="eval">filter: url(svg-url#element-id) 
<p> </p>
<pre>.target { filter: url(#c1); }

.anothertarget { filter: url(resources.svg#c1); }
<ul> <li><a class="external" href="" title="">Filter Effects</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("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