bender-clock
v2.0.1
Published
Display an analog clock using CSS animation.
Downloads
1
Readme
A CSS clock, one of many ...
<other-element></other-element>
<my-element></my-element>
Introduction
I saw this nice article on CSS clocks, when I was looking for some ideas for my magic mirror project.
It uses CSS transitions to animate the analog clock.
For me it's a nice project to sharpen my skills in; CSS3, Javascript, units tests, Polymer, Web Components and Raspberry Pi projects.
Why CSS
The clock is animated using CSS3 transform properties. This means optimal browser performance. JavaScript is only used to set the start time, dimensions and Polymer Web Component part.
Specifications
- To show an analog clock, with 12-hour, minute and second hands.
- Animation handled by CSS transitions.
- Freedom by user to manipulate look-and-feel.
- It will react on the visibillity of the web page, to update the time (notified).