filter屬性全集

1.filter:alpha(opacity,finishopacity,style,startX,startY,finishX,finishY);     //控制透明效果

2.filter:blur(add,direction,strength);                                                                //模糊濾鏡

3.filter:chroma(color);                                                                                           //設置指定顏色為透明色

4.filter:dropShadow(color,offx,offy);                                                                   //設置元素的陰影效果

5.filter:flipH();                                                                                                      //獲取目標的水平鏡像

6.filter:flipV();                                                                                                       //獲取目標的垂直鏡像

7.filter:glow(color,strength);                                                                                 //設置元素外部的發光效果

8.filter:gray();                                                                                                        //用於消除元素的顏色

9.filter:invert();                                                                                                      //將元素的可視化信息如色調.亮度和飽和度等全部反轉

10.filter:light(enabled);                                                                                          //可以模仿光源的投射效果

11.filter:mask(color);                                                                                            //為元素設置一層覆蓋其表面的膜

12.filter:shadow(color,direction);                                                                          //在指定方向上建立元素的投影

13.filter:wave(add,freq,lightstrength,phase,strength);                                           //將元素按照垂直的波紋樣式打亂

14.filter:xRay();                                                                                                    //產生元素的X光片效果

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值