This number digit counter will count from 0 to 9999 one by one without using JavaScript. This is done via CSS by using animation-delay
to control the transform
property on the <div>
that contains the number.
You are free to change anything except animation-delay
and animation-duration
, or the counter will not work.