![]() Let’s see how a simple sequenced animation looks in CSS and compare it to jQuery, which has plenty of built-in animation helpers: That’s all totally possible with pure CSS - still, it’s a lot less smooth than what most JavaScript libraries offer. I was looking to do some heavy-duty animations, like the ability to sequence animations and get callbacks on animation completion. There are lots of great CSS libraries, many of them with excellent performance which was a high priority for me. The first thing I considered when choosing an animation library was whether to go with a CSS or JavaScript-based library. Choosing between CSS or JavaScript animation libraries That’s what I took with me as I went in search of the right tool for this particular job. Plus, I definitely wanted some future-proofing. Browser support: Of course I wanted my game to work on any modern browser using some form of progressive enhancement to prevent completely borking legacy browsers. ![]() Again, this bodes well for a designer-turned-developer. I’d even trade a little extra convenience for a small performance cost if it allows me to write better, more maintainable code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |