Javascript or CSS3?

Out of context: Reply #5

  • Started
  • Last post
  • 7 Responses
  • kingsteven0

    css3 animation is keyframed css. so pretty basic stuff - it still requires webkit vendor prefixes (twice the work for simple animations or requires a js lib) and won't work in Internet Explorer < v10.

    I guess there's an argument that not requiring javascript libraries makes the animations smaller and more embedable/ re-usable... Maybe there's an advantage for banner advertisements? or something distributable like that... In practice though... if you're dynamically loading CSS you're going to need to use JS DOM manipulation to maintain standards compatibility. So, you could end up keyframing CSS animations via jQuery by dynamically parsing SVG animation markup... or just use a JS animation lib or SVG in the first place!

    IT DUNT REALLY MATTER

View thread