Does Chrome 12 really support CSS 3D transforms? Including on Linux?

和自甴很熟 提交于 2019-12-10 03:50:26

问题


I'm using Chrome 12 in a Linux 64bit box, but I can't get any of the samples bellow to work:

  • http://www.satine.org/research/webkit/snowleopard/snowstack.html
  • http://www.marcofolio.net/css/3d_animation_using_pure_css3.html
  • http://kevchapman.co.uk/css/webkit-css-perspective-demo/

They all use -webkit-perspective, but the final results differ a lot from the results got in Safari (Windows XP). So, after all, does Chrome support CSS 3D transforms? Or the support is still limited?

Thanks!


回答1:


Go to the Chromium web SCM interface and check that your GPU isn't blacklisted.

Also, go to chrome://gpu/ and check that Chrome reports 3D CSS as enabled.




回答2:


The problem is that 3d support in webkit browsers depends on your videocard. That's why you cannot see that examples, but your browser engine still supports 3d transforms. To resolve this problem you can use Modernizr, which detects browser+videocard 3dtranforms support.




回答3:


I'm using Chrome on a Windows 7 machine right now, and all the demos seemed to behave exactly as they should have. Have you tried Chrome on your XP machine?



来源:https://stackoverflow.com/questions/6335211/does-chrome-12-really-support-css-3d-transforms-including-on-linux

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