Working stopwatch by Jhey Tompkins on CodePen
Open on CodePen ↗A stopwatch you can start, stop and reset, and it really keeps time.
Jhey Tompkins registers custom properties as integers with @property so the browser can animate them. Each digit has its own stepped animation shown through counter(), and a checkbox switches the play state.
interactiveanimation:checkedcounter()
The modern.css newsletter
New CSS each month, and new things in the Atlas. 806 subscribers. Past issues
by Kiarash Zarinmehr
by Ricardo Oliva Alonso
by Henry Desroches