filter

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

Revision Content

{{ CSSRef() }}

Summary

 

  • {{ Xref_cssinitial() }}:
  • Applies to:
  • {{ Xref_cssinherited() }}:
  • Percentages: n/a
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}:

Syntax

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

Values

 

Examples

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

.anothertarget { filter: url(resources.svg#c1); }

Specifications

Browser compatibility

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

See also

Revision Source

<p>{{ CSSRef() }}</p>
<h3>Summary</h3>
<p> </p>
<ul> <li>{{ Xref_cssinitial() }}:</li> <li>Applies to:</li> <li>{{ Xref_cssinherited() }}:</li> <li>Percentages: n/a</li> <li>Media: {{ Xref_cssvisual() }}</li> <li>{{ Xref_csscomputed() }}:</li>
</ul>
<h3>Syntax</h3>
<pre class="eval">filter: url(svg-url#element-id) 
</pre>
<h3>Values</h3>
<p> </p>
<h3>Examples</h3>
<pre>.target { filter: url(#c1); }

.anothertarget { filter: url(resources.svg#c1); }
</pre>
<h3>Specifications</h3>
<ul> <li><a class="external" href="http://www.w3.org/TR/2000/03/WD-SVG-20000303/masking.html#ClipPathElement" title="http://www.w3.org/TR/2000/03/WD-SVG-20000303/masking.html#ClipPathElement">Clipping, Masking and Compositing</a></li> <li><a class="external" href="http://www.w3.org/TR/css3-roadmap/#svg" title="http://www.w3.org/TR/css3-roadmap/#svg">CSS 3 SVG</a></li> <li><a class="external" href="http://www.w3.org/Graphics/SVG/" title="http://www.w3.org/Graphics/SVG/">SVG</a></li>
</ul>
<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>
</table>
<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>
</ul>
Revert to this revision