一只甜甜圈
刚好,我曾经做过这个功能,和你分享下。黑白照片 filter: gray;X光照片 filter: Xray;风动模糊 filter: blur(add=true,direction=45,strength=30);正弦波纹 filter: Wave(Add=0, Freq=60, LightStrength=1, Phase=0, Strength=3);半透明效果 filter: Alpha(Opacity=50);线型透明 filter: Alpha(Opacity=0, FinishOpacity=100, Style=1, StartX=0, StartY=0, FinishX=100, FinishY=140);放射透明 filter: Alpha(Opacity=10, FinishOpacity=100, Style=2, StartX=30, StartY=30, FinishX=200, FinishY=200);白色透明 filter: Chroma(Color=#FFFFFF);降低色彩 filter: grays;底片效果 filter: invert;左右翻转 filter: fliph;垂直翻转 filter: flipv;投影效果 filter:progid:dXImageTransform.Microsoft.DropShadow(color=#cccccc,offX=5,offY=5,positives=true);马赛克 filter:progid:dXImageTransform.Microsoft.Pixelate(maxsquare=3);发光效果 filter:progid:dXImageTransform.Microsoft.Glow(color=#cccccc,Strength=5);柔边效果 filter:alpha(opacity=100, finishOpacity=0,style=2我的示范代码:<div id="bgDiv" style="position:absolute; top:0; background-color:#777;display:none; filter: Alpha(Opacity=10, FinishOpacity=50, Style=2, StartX=30, StartY=30, FinishX=200, FinishY=200); opacity:0.6; left:0;z-index:10000;"></div>