Firefox的CSS Filter选择是什么? [英] What's the CSS Filter alternative for Firefox?
问题描述
我使用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.
有人知道什么是CSS Filter等同于Firefox吗?将优先使用交叉浏览器(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>
更新:我知道Filter是一个IE特有的功能。
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图片效果库:
- 支持IE和Fx很好
- 有很多效果
在 CVI项目中找到许多其他效果:
You can find many other effects in the CVI Projects:
- 它们也是基于JS的
- 有实验室实验
- they are also JS based
- there's a Lab to experiment
祝你好运
这篇关于Firefox的CSS Filter选择是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!