Hacker News new | past | comments | ask | show | jobs | submit login

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;
    }



Good 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.


i could be wrong, but isn't anand a man's name? http://dribbble.com/charm https://twitter.com/#!/aprilzero it's not showing me the correct time either, but it is still amazing.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: