Detect if computer can support 3D Transforms properly

橙三吉。 提交于 2019-12-04 06:09:43

问题


When I detect webkit, I add an additionnal stylesheet using 3D Transforms properties.
Although it is working fine on many different computers (All on the same chrome version), some don't render the animation properly.

Those are older computers with cheaper Graphic Card. (I guess that is what is causing the problem.)

Is there a better way to detect if a computer can handle Css 3D Transforms than rely on the browser detection?


回答1:


Use Modernizr and its csstransforms3d class name.

More on these links:

http://modernizr.com/

http://modernizr.com/docs/#features-css



来源:https://stackoverflow.com/questions/11902720/detect-if-computer-can-support-3d-transforms-properly

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