HTML/CSS “Analog Clock” With Minimal Javascript

Jason Knight
Level Up Coding
Published in
9 min readNov 25, 2020

--

Over on DigitalPoint it was asked if it were possible to make a clock face using just HTML and CSS. Whilst I answered their question as cleanly as I could in a drive-by answer, I thought a more polished and robust copy would make a good article.

One of the things I constantly see is how many implementations tend to use a lot of JavaScript with no scripting-off graceful degradation…

--

--

Accessibility and Efficiency Consultant, Web Developer, Musician, and just general pain in the arse