News for hackers. Stuff that matters.
Re:Impressive html5/css3 clock; no Flash. by kinofcain on Wednesday October 05, 2011 @12:25PM (#3076307)
Apple actually has an embarrassingly straightforward implementation of a CSS3 clock on their ipod nano page:

http://www.apple.com/ipodnano/

Re:Impressive html5/css3 clock; no Flash. by onedognight on Wednesday October 05, 2011 @02:17PM (#3076821)
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;
    }
Re:Impressive html5/css3 clock; no Flash. by kinofcain on Wednesday October 05, 2011 @04:06PM (#3077300)
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.
Re:Impressive html5/css3 clock; no Flash. by azulum on Wednesday October 05, 2011 @04:26PM (#3077399)
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.
Re:Impressive html5/css3 clock; no Flash. by dougaitken on Wednesday October 05, 2011 @01:20PM (#3076563)
umm where?
Re:Impressive html5/css3 clock; no Flash. by Luc on Wednesday October 05, 2011 @03:42PM (#3077195)
For me it's just showing a static image, no matter what browser I use. This one: http://www.apple.com/ipodnano/images/overview_hero.jpg
Re:Impressive html5/css3 clock; no Flash. by flixic on Wednesday October 05, 2011 @01:25PM (#3076583)
The Mickey Mouse clock.
Re:Impressive html5/css3 clock; no Flash. by davidcollantes on Wednesday October 05, 2011 @01:21PM (#3076569)
Mickey Clock.
Re:Impressive html5/css3 clock; no Flash. by innes on Wednesday October 05, 2011 @05:34PM (#3077717)
Doesn't work on any of the three browsers on my laptop - presumably it works on Apple's browser. Kudos to Apple on going the extra mile there.
Re:Impressive html5/css3 clock; no Flash. by jjcm on Wednesday October 05, 2011 @06:28PM (#3077907)
If you look at the code it only has webkit bindings. It fails gracefully however in trident/presto/gecko, so no real issues in my opinion.