Skip to content

Comment on Donatello, a pure CSS drawing libraryparent

Comments

AFAIK, on iOS CSS (especially when using transforms) is a lot faster because it's hardware accelerated.

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.

Yes, that is a 3D transform.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.