代码示例:(标识:dhtm_filter)
<html>
<head>
<style>
h2
{
width:100%;
}
</style>
</head>

<body>

<h2 style="filter:glow()">发光</h2>
<h2 style="filter:blur()">模糊</h2>
<h2 style="filter:fliph()">Flip H</h2>
<h2 style="filter:flipv()">Flip V</h2>
<h2 style="filter:shadow()">阴影</h2>
<h2 style="filter:dropshadow()">阴影</h2>
<h2 style="filter:wave(Strength=2)">波浪</h2>

<p>注释:如果元素的 width 属性没有设置,那么滤镜不会起作用。</p>
</body>
</html>
运行结果: