Click here to Skip to main content
12,353,406 members (71,446 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript HTML5
I have a quick question. I am animating multiple divs and would like them to be hardware accelerated. If I just animate the top property of the element, but add translate3d(0,0,0) to its inline style, will this hardware accelerate it?

If possible, a link to your answer would be great.

Posted 11-Nov-12 23:02pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It depends of browser. Depends of environment. Depends of setting of the browser etc.
It is HTML you cannot know nor cannot have any influence for that.
HTML should be non-native, markup language. You designing contents of documents (HTML), it's view to user, appereance (CSS), and sometimes behavior (JS).
Everything else is platform specific and you cannot rely on it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 17 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100