实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<!DOCTYPE html>
2
<html>
3
<body>
4
5
<p><b>Note: </b>Internet Explorer and Safari do not support SVG filters yet!</p>
6
7
<svg xmlns="https://www.w3.org/2000/svg" version="1.1">
8
  <defs>
9
    <filter id="f1" x="0" y="0">
10
      <feGaussianBlur in="SourceGraphic" stdDeviation="15" />
11
    </filter>
12
  </defs>
13
  <rect width="90" height="90" stroke="green" stroke-width="3" fill="yellow" filter="url(#f1)" />
14
</svg>
15
16
</body>
17
</html>