CSS3过滤器在Opera,Internet Explorer,Mozilla Firefox上不起作用

阿斯克

CSS具有命令过滤器,并且具有许多功能示例:

  filter: grayscale(0);
  filter: sepia(0);
  filter: saturate(1);
  filter: hue-rotate(0deg);
  filter: invert(0);
  filter: opacity(1);
  filter: brightness(1);
  filter: contrast(1);
  filter: blur(0px);

过滤器支持Chrome 18 +,Safari 6+。(来源:http//css3.bradshawenterprises.com/filters/

我需要使用灰度,棕褐色,饱和度,亮度,对比度,模糊我无法使用任何一种,因为很少有浏览器(例如,mozilla,opera)不支持过滤器

我的问题:也许此功能有替代方法或其他获得类似结果的功能,例如:灰度,棕褐色,饱和度,亮度,对比度,模糊

我尝试的是:添加前缀: -moz-, -o-, -ms-

来自微软官方网站示例的内容,但不起作用:/来源:http : //msdn.microsoft.com/zh-cn/library/ms532847(v=vs.85 ) .aspx),如下所示:

filter:progid:DXImageTransform.Microsoft.MotionBlur(strength=50)
        progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); width=50%

有趣的是。我找到了适用于Internet Explorer的解决方案:6,7,8(来源:http://www.smashingmagazine.com/2010/04/28/css3-solutions-for-internet-explorer/ )我尝试为我对其进行测试11,但这是行不通的。代码:

filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1'); /* IE6 & IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1')"; /* IE8 */

我需要找到至少可以在最新版本的Mozilla,Opera,Internet Explorer上运行的解决方案

费利佩

Mozilla Firefox根据MDN(当前的稳定版本为32),Firefox 34中将提供无前缀支持几周后,如果我很了解,您将需要通过url()使用SVG过滤器。

注意:如果您支持Firefox ESR-扩展支持版本-可能由许多IT部门和组织部署,则Fx 24 ESR在2014年10月之后将不再受支持,但Fx 31 ESR将持续到2015年中或年底。来源

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

CSS3过滤器在Opera,Internet Explorer,Mozilla Firefox上不起作用

来自分类Dev

CSS过滤器invert()在Mozilla FireFox上不起作用?

来自分类Dev

CSS过滤器invert()在Mozilla FireFox上不起作用?

来自分类Dev

透视图属性(css3)在Mozilla Firefox浏览器上不起作用

来自分类Dev

覆盖CSS过滤器反转功能在Mozilla Firefox中不起作用

来自分类Dev

AngularJS过滤器在Internet Explorer中不起作用

来自分类Dev

AngularJS过滤器在Internet Explorer中不起作用

来自分类Dev

CSS字体系列在Internet Explorer上不起作用

来自分类Dev

CSS Mask在Firefox上不起作用

来自分类Dev

HighCharts图形在Internet Explorer上不起作用

来自分类Dev

Pygal 图表在 Internet Explorer 11 上不起作用

来自分类Dev

产生的效果在mozilla firefox上不起作用

来自分类Dev

Google登录API在Mozilla Firefox上不起作用

来自分类Dev

此动画(css3)在Firefox上不起作用

来自分类Dev

此动画(css3)在Firefox上不起作用

来自分类Dev

缩放后svg过滤器在mozilla firefox中不起作用

来自分类Dev

CSS跨浏览器过滤器模糊在Firefox上不起作用

来自分类Dev

CSS3关键帧动画在Mozilla Firefox中不起作用

来自分类Dev

CSS:页面分为3列,在Firefox上不起作用

来自分类Dev

热门在Mozilla中使用CSS3过滤器?

来自分类Dev

getElementsByTagName()。length在Firefox / Internet Explorer中不起作用

来自分类Dev

内容在Firefox和Internet Explorer中不起作用?

来自分类Dev

谷歌地图v3的ngmap在Internet Explorer 11上不起作用

来自分类Dev

CSS动画在Firefox和IE上不起作用

来自分类Dev

我的表单上的CSS样式在Firefox上不起作用

来自分类Dev

3D转换在Firefox上不起作用(示例)

来自分类Dev

右键单击选项卡在Internet Explorer上不起作用

来自分类Dev

角响应表在Internet Explorer 9(IE 9)上不起作用。与IE 10搭配使用

来自分类Dev

跨域XMLHttpRequest在较旧的Internet Explorer版本上不起作用(拒绝访问)

Related 相关文章

  1. 1

    CSS3过滤器在Opera,Internet Explorer,Mozilla Firefox上不起作用

  2. 2

    CSS过滤器invert()在Mozilla FireFox上不起作用?

  3. 3

    CSS过滤器invert()在Mozilla FireFox上不起作用?

  4. 4

    透视图属性(css3)在Mozilla Firefox浏览器上不起作用

  5. 5

    覆盖CSS过滤器反转功能在Mozilla Firefox中不起作用

  6. 6

    AngularJS过滤器在Internet Explorer中不起作用

  7. 7

    AngularJS过滤器在Internet Explorer中不起作用

  8. 8

    CSS字体系列在Internet Explorer上不起作用

  9. 9

    CSS Mask在Firefox上不起作用

  10. 10

    HighCharts图形在Internet Explorer上不起作用

  11. 11

    Pygal 图表在 Internet Explorer 11 上不起作用

  12. 12

    产生的效果在mozilla firefox上不起作用

  13. 13

    Google登录API在Mozilla Firefox上不起作用

  14. 14

    此动画(css3)在Firefox上不起作用

  15. 15

    此动画(css3)在Firefox上不起作用

  16. 16

    缩放后svg过滤器在mozilla firefox中不起作用

  17. 17

    CSS跨浏览器过滤器模糊在Firefox上不起作用

  18. 18

    CSS3关键帧动画在Mozilla Firefox中不起作用

  19. 19

    CSS:页面分为3列,在Firefox上不起作用

  20. 20

    热门在Mozilla中使用CSS3过滤器?

  21. 21

    getElementsByTagName()。length在Firefox / Internet Explorer中不起作用

  22. 22

    内容在Firefox和Internet Explorer中不起作用?

  23. 23

    谷歌地图v3的ngmap在Internet Explorer 11上不起作用

  24. 24

    CSS动画在Firefox和IE上不起作用

  25. 25

    我的表单上的CSS样式在Firefox上不起作用

  26. 26

    3D转换在Firefox上不起作用(示例)

  27. 27

    右键单击选项卡在Internet Explorer上不起作用

  28. 28

    角响应表在Internet Explorer 9(IE 9)上不起作用。与IE 10搭配使用

  29. 29

    跨域XMLHttpRequest在较旧的Internet Explorer版本上不起作用(拒绝访问)

热门标签

归档