Live data from Hacker News

Stopwatch in CSS

paullaros.github.io

11–20 of 38 posts

Re: Stopwatch in CSS

#11
This is cool. But should the fourth section (sub-seconds) be running from 0-99? It is currently running from 0-59, too.

Sorry about the nitpick; this really is a cool implementation :-)

Re: Stopwatch in CSS

#12

is something supposed to happen when I press play (safari, iPad)?

The time starts ticking (chrome beta, android) It'd be cool if I could read the time via JS

You can - try something like this:

parseInt(getComputedStyle($('#seconds'), ':after').top)/-76

(see https://gist.github.com/alexlouden/7481780 for full)

Re: Stopwatch in CSS

#14
Goes absolutely bat shit in IE11 flickering and all sorts going on.

Then again what do I expect?

Works fine in Chrome and Firefox.

Re: Stopwatch in CSS

#16
Nice work, but I find it a bit disappointing that the first thing I see on a "CSS-only" site is a big warning from NoScript. I think this site would make its point more clear if it didn't contain any JavsScript, even though it's just for Google Analytics.

Re: Stopwatch in CSS

#18
post #4

For me, the button font doesn't load and the background transisiotions are, as always, extremely sluggish. (Firefox 17 ESR)

Why are you stuck with ESR?

Re: Stopwatch in CSS

#19
post #7

Great example of a cool trick using completely the wrong tool for the job.

Whether it is the wrong tool is arguable (it is a clever declarative implementation). But regardless, demos such as this primarily demonstrate features and functions of a technology in a novel way, and it seems likely many who view will have a 'you can do that with CSS?' reaction, perhaps taking it to add to more traditional implementations.

Re: Stopwatch in CSS

#20

This is cool. But should the fourth section (sub-seconds) be running from 0-99? It is currently running from 0-59, too. Sorry about the nitpick; this really is a cool implementation :-)

Updated! Thanks for your feedback.
Post reply on HN