滤镜效果 | Filter Effects (Filter Effects) - CSS 中文开发手册
滤镜效果是CSS的一个模块,它定义了元素在文档中显示之前,对其渲染效果的一种处理方式。
参照系
特性
filter功能blur()%28滤镜#模糊%28%29%29brightness()%28滤光片#亮度%28%29%29contrast()%28滤镜#对比度%28%29%29drop-shadow()%28过滤器#下降阴影%28%29%29grayscale()%28过滤器#灰度%28%29%29hue-rotate()%28滤镜#色调-旋转%28%29%29invert()%28滤波器#倒置%28%29%29opacity()%28过滤器#不透明度%28%29%29saturate()%28滤波器#饱和%28%29%29sepia()%28过滤器#败血症%28%29%29url()%28过滤器#url%28%29%29
指导手册
没有。
规范
Specification | Status | Comment |
---|---|---|
Filter Effects Module Level 1The definition of ‘filter‘ in that specification. | Working Draft | Initial definition. |
浏览器兼容性
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 18.0-webkit | (Yes) | 35 (35) | No support | 15.0-webkit | 6.0-webkit |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | 4.4-webkit | (Yes) | 35 (35) | No support | 22.0 (Yes)-webkit | 6.0 (Yes)-webkit |
滤镜效果 | Filter Effects (Filter Effects) - CSS 中文开发手册 - Break易站