Friday, July 15, 2011

HTML clocks using JavaScript and CSS rotation

The two clocks below are just HTML. There are no Adobe Flash files or my beloved <canvas> going on, just regular <div> and <img> tags. The way it works is by taking those images in an { overflow: hidden } <div> and rotating them, via JavaScript, using the proposed CSS transform property.

HTML clocks using JavaScript and CSS rotation

No comments:

Post a Comment