简体   繁体   English

Opera和IE中的CSS动画

[英]CSS animations in Opera and IE

Recently I have launched CSSload.net - CSS spinners and bars generator . 最近,我启动了CSSload.net-CSS微调器和bar生成器 The animations work perfectly in Firefox and Webkit browsers. 这些动画可以在Firefox和Webkit浏览器中完美运行。 Does anyone know if there is anyway to animate elements like this in Opera and IE? 有谁知道在Opera和IE中是否可以为此类元素设置动画?

IE10将支持不带前缀的CSS3动画,因此,即使向后兼容,任何代码也不需要IE的供应商前缀,因为IE9从未支持它。

for progressive enhancement, add the real style property, example, you have -moz-transition,-webkit-transition...add transition too. 为了进行渐进式增强,请添加真实样式属性,例如,您还具有-moz-transition,-webkit-transition ...也添加了transition。 for opera, add their prefix, -o- to everything that is -moz and -webkit. 对于Opera,请将其前缀-o-添加到-moz和-webkit的所有内容中。 for ie, you can use css sandpaper, but its relying on a javascript fix http://www.useragentman.com/blog/2010/04/05/cross-browser-animated-css-transforms-even-in-ie/ if you want pure css, you could always add filters for IE http://msdn.microsoft.com/en-us/library/ms532847(v=vs.85).aspx here's a great example of adding filters for IE http://robertnyman.com/css3/css-transitions/css-transitions-mac-os-x-stacks.html 例如,您可以使用CSS砂纸,但是它依赖于javascript修复http://www.useragentman.com/blog/2010/04/05/cross-browser-animated-css-transforms-even-in-ie/如果您要使用纯CSS,则始终可以为IE添加过滤器http://msdn.microsoft.com/zh-cn/library/ms532847(v=vs.85).aspx,这是为IE http添加过滤器的一个很好的示例: //robertnyman.com/css3/css-transitions/css-transitions-mac-os-x-stacks.html

i'm not sure if there is an -ms-transition. 我不确定是否有-ms-transition。 i want to say there is, but not finding anything atm 我想说是有,但没有找到自动取款机

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM