3 ms·
Bearing in mind that all browsers (in common use) that support border-radius and gradients, also support SVG and canvas, and that SVG and canvas let you do more
by richbradshaw 15y ago
Bearing in mind that all browsers (in common use) that support border-radius and gradients, also support SVG and canvas, and that SVG and canvas let you do more, are generally more performant, and have fallbacks (SVG particularly) in older browsers, why would you use Donatello?
- huskyr 15y agoAFAIK, on iOS CSS (especially when using transforms) is a lot faster because it's hardware accelerated.
- ryanpetrich 15y agoOnly when using transforms and only when using 3D transforms (though iOS5.0 may support hardware accelerated 2D transforms as well)
- rjett0 15y agoYou can hardware accelerate 2D transforms on iOS. You just do a -webkit-transform: translateZ(0); and it puts the element in the compositing layer.
- ryanpetrich 15y agoYes, that is a 3D transform.