Is there a Firefox equivalent to Chrome's “translateZ(0);” to force GPU accelerated CSS animation?

故事扮演 提交于 2019-12-06 03:51:34

问题


I have a CSS3 transition which is smooth as silk in Chrome, but choppy in (the latest version of) Firefox

I know that I can force GPU acceleration on a DOM object in Chrome by setting -webkit-transform: translateZ(0); on it

Is there an equivalent style I can add to force GPU acceleration in Firefox?


回答1:


Firefox GPU-accelerates by default when it can. So there's nothing to "force" GPU acceleration: if it's possible, it's already done.



来源:https://stackoverflow.com/questions/9012753/is-there-a-firefox-equivalent-to-chromes-translatez0-to-force-gpu-accelera

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!