Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.

Thanks,
Dom
Posted

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900