I recently saw a recreation of the Twitter heart animation among the picks on CodePen. If I happen to have a bit of time, I always look through the code of demos that catch my attention to see if there's something in there that I could use or improve. In this case, I was surprised to see the demo was using an image sprite. I later learned that this is how Twitter does it. Surely it could be done without images, right?
I decided I'd give that a try.
http://codango.com/recreating-the-twitter-heart-animation-with-one-element-no-images-and-no-javascript/
We are happy to share this resource that we found. The content displayed on this page is property of its original author or their organization.
No comments:
Post a Comment