Firefox 的 CSS 过滤器替代品是什么? [英] What's the CSS Filter alternative for Firefox?

查看:20
本文介绍了Firefox 的 CSS 过滤器替代品是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 CSS 过滤器在浏览器中动态修改图像.这些在 Internet Explorer 中运行良好,但在 Firefox 中不受支持.

I'm using CSS Filters to modify images on the fly within the browser. These work perfectly in Internet Explorer, but aren't supported in Firefox.

有谁知道 Firefox 的 CSS Filter 等价物是什么?最好是可以跨浏览器(Safari、WebKit、Firefox 等)工作的答案.

Does anyone know what the CSS Filter equivalent for these is for Firefox? An answer that would work cross browser (Safari, WebKit, Firefox, etc.) would be preferred.

<style type="text/css">
    .CSSClassName {filter:Invert;}
    .CSSClassName {filter:Xray;}
    .CSSClassName {filter:Gray;}
    .CSSClassName {filter:FlipV;}
</style>

更新:我知道过滤器是 IE 特定的功能.Firefox 支持的这些是否有任何等价物?

Update: I know Filter is an IE specific feature. Is there any kind of equivalent for any of these that is supported by Firefox?

推荐答案

请查看 Nihilogic Javascript Image Effect图书馆:

  • 非常好地支持 IE 和 Fx
  • 有很多影响

您可以在 CVI Projects 中找到许多其他效果:

You can find many other effects in the CVI Projects:

祝你好运

这篇关于Firefox 的 CSS 过滤器替代品是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆