// Apparently, programming, like life, is sometimes going in circles. Almost 30 years ago I was doing my first steps in programming, coding sprites on my MSX2 in some lame attempts at game development :) Today, I’m revisiting the technique for a whole different purpose. Below you can see an elegant approach to a hover animation from the home page of Rafael Gonzalves. Rafael is using jQuery and Spritely, a plugin that eases the development of animations to create a 3D effect.
In effect, the concept is simple: you have an image file with all the requires frames for the animation, and Spritely handles the transition of a div’s background between them. You can play with it and see the source code above. If you have any other examples of such animations, add them in the comments!
Related
Reshared post from +Elijah ManorAn explanation of the CSS animation on Apple's iPhone 4S webpage Embedded Link An explanation of the CSS animation on Apple's iPhone 4S webpage An explanation of the CSS animation on Apple's iPhone 4S webpage. The "phone stage" (blue-bordered box) contains all 6 "slides" of the…
After 15 years, at last there is a reason for the existence of Flash. It's called The Scale of the Universe by Cary and Michael Huang and you have to see it now http://bit.ly/wWGTVgGoogle+: Reshared 2 times Google+: View post on Google+
For all the talk of how HTML5 will be the future of the Web, and how, in particular, it will replace Flash for rich interactive and animated content, the reality is that the technology is out of reach for a lot of the designers and animators currently using Flash. While…