CSS3 animates the clock elements, JavaScript updates the time.
Works only in WebKit - tested in Safari 5 and iOS 4.3.
The CSS file with all the animation / 3D transform juju is here.
See also: Countdown demo