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