首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

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>

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com