4 ms·
AFAIK, on iOS CSS (especially when using transforms) is a lot faster because it's hardware accelerated.
by huskyr 15y ago
AFAIK, 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.