filter
该filter
属性定义了用于<filter>
元素的滤镜效果。
作为一个表现属性,它也可以直接在CSS样式表中作为属性使用。查看css filter
更多信息。
用法上下文
Categories | Presentation attribute |
---|---|
Value | <funciri> | none | inherit |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
<funciri>
——对<filter>
元素的引用,它定义了应该应用于其元素的滤镜效果。
<none>
——无法对其元素应用任何滤镜效果。
适用元素
以下元素可以使用该filter
属性
- Graphics elements »
<a>
<defs>
<glyph>
<g>
<marker>
<missing-glyph>
<pattern>
<svg>
<switch>
<symbol>
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com