+ 3
Which one is best & which one to use: CSS animation / JAVASCRIPT animation?
3 Answers
+ 2
both are good for providing attractive animation,for selecting one language it depend on what you to do for example:
-Use CSS animations for simpler "one-shot" transitions, like toggling UI element states.
-Use JavaScript animations when you want to have advanced effects like bouncing, stop, pause, rewind, or slow down.
-If you choose to animate with JavaScript, use the Web Animations API or a modern framework that you're comfortable with
+ 4
Both are best it depends on your interest. I prefer CSS
+ 1
Use javascript animation, it is better than css animation.
CSS animation doesn't allows better functions while javascript do.