What work faster in animation CSS3 or JS? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What work faster in animation CSS3 or JS?

17th Feb 2017, 9:08 PM
Oleg Kupriianov
Oleg Kupriianov - avatar
2 Antworten
+ 3
CSS3 one, because it recieves "help" from your graphic card processor. JS is only supported by gpu when you use canvas.
18th Feb 2017, 1:27 AM
Jakub Stasiak
Jakub Stasiak - avatar
+ 3
CSS3 won... Works faster, works more fluidly: it is independently handle from JS ( even you can communicate between JS and CSS3 through property and events ), CSS3 animations cannot be penalized by a busy/bugy script, and are even provided if JS doesn't work for whatever reason :P
18th Feb 2017, 7:58 AM
visph
visph - avatar