3 ms·
Except it's not just CSS; It uses Javascript to update a CSS transform element -moz-transform: rotate(%ddeg) whereas the OP uses CSS animations. .han
by onedognight 15y ago
Except it's not just CSS; It uses Javascript to update a CSS transform element
-moz-transform: rotate(%ddeg)
whereas the OP uses CSS animations.
.hand {
-moz-animation-direction: normal;
-moz-animation-duration: 60000ms;
-moz-animation-iteration-count: infinite;
-moz-animation-name: spin;
-moz-animation-timing-function: linear;
}
.hour.hand {
-moz-animation: 0s ease 0s normal none 1 none;
}
.minutes.hand {
-moz-animation: 0s ease 0s normal none 1 none;
}
- kinofcain 15y agoGood catch, though for what it's worth Apple's actually has the correct time on it. Hers appears to be doing some initial date/time setup via JS, but it doesn't appear to show the correct time, at least for me.
- azulum 15y agoi could be wrong, but isn't anand a man's name? http://dribbble.com/charm http://dribbble.com/charm https://twitter.com/#!/aprilzero https://twitter.com/#!/aprilzero it's not showing me the correct time either, but it is still amazing.