Re:Donatello, a pure CSS drawing library
by richbradshaw on Sunday October 09, 2011 @08:36AM
(#3090355)
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?
[ Parent
| on HN ]
AFAIK, on iOS CSS (especially when using transforms) is a lot faster because it's hardware accelerated.
Re:Donatello, a pure CSS drawing library
by ryanpetrich on Sunday October 09, 2011 @07:37PM
(#3091640)
Only when using transforms and only when using 3D transforms (though iOS5.0 may support hardware accelerated 2D transforms as well)
You can hardware accelerate 2D transforms on iOS. You just do a -webkit-transform: translateZ(0); and it puts the element in the compositing layer.
Re:Donatello, a pure CSS drawing library
by ryanpetrich on Monday October 10, 2011 @03:44PM
(#3095450)
Yes, that is a 3D transform.