简体   繁体   English

Object.style.filter =“ Flipv”在Internet Explorer中可以正常工作。 如何在Firefox中进行操作?

[英]Object.style.filter=“Flipv” its working fine in Internet explorer. How can i do in Firefox?

I want to convert the to flipVertical. 我想将其转换为flipVertical。 I tried the object.style.filter="Flipv" its not working in firefox. 我尝试了object.style.filter="Flipv"在Firefox中不起作用。 Please make it..... 请做.....

Filters are implemented in only Internet Explorer. 筛选器仅在Internet Explorer中实现。

Instead, you can use transform from CSS3: http://www.w3.org/TR/css3-2d-transforms/ 相反,您可以使用来自CSS3的transformhttp : //www.w3.org/TR/css3-2d-transforms/

In this case, you need transform: scaleY(-1) . 在这种情况下,您需要transform: scaleY(-1)

A JavaScript example for Firefox: Firefox的JavaScript示例:

document.getElementById('x').style.MozTransform = "scaleY(-1)";

CSS3 transforms are also supported in all modern browsers . 所有现代浏览器也都支持 CSS3转换。

您也可以使用firefox的CANVAS

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何访问firefox浏览器的object.style.filter? - How to access object.style.filter for firefox browser? $(document).ready() 似乎不适用于 Internet Explorer。 我怎样才能解决这个问题? - $(document).ready() doesn't seem to work on Internet Explorer. How can I fix this? 生成表的 javascript 在 Chrome 上工作,但在 Internet Explorer 上失败。 如何? - The javascript to generate a table works on Chrome but fails on Internet Explorer. HOW? 如何在Firefox和Internet Explorer中隐藏或着色iframe滚动条? - How can I hide or color iframe scrollbar in Firefox and Internet Explorer? 带有jQuery的Internet Explorer上的Javascript错误,但在Firefox上可以正常工作 - Javascript errors on internet explorer with jQuery but working fine on Firefox 该脚本在浏览器 Internet Explorer 中无法正常工作。 怎么修? - The script does not work properly in the browser Internet Explorer. How to fix? Enter在Internet Explorer和Firefox中不起作用 - Enter is not working in Internet explorer and Firefox 我已经使用javascript和ajax创建了一个在线打字测试页面。 该代码在Google Chrome Chrome浏览器中正常运行,但在Internet Explorer中无法正常运行 - i have created a online typing test page using javascript and ajax. the code is working fine in google chrome firefox, but not in internet explorer 我如何在 Internet Explorer 11 中使用 object.assign - How do i use object.assign in internet explorer 11 幻灯片只能在Firefox中使用,而不能在Internet Explorer中使用 - slideshow working in firefox but not internet explorer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM