⏰ CSS-only Digital Clock — Accurate, Settable, Animated

Mate Marschalko
Jul 16 · 6 min read

This is the digital version of the CSS-only analog clock we built last time. It’s fully functioning, settable .. all done with CSS Custom Properties and the calc() function and no JavaScript of course.

To get started with the project, have a look at the CSS-only Analog Clock first.

All you need is HTML and CSS