CSS powered digital clock
Today I made a clock using mostly CSS, with JavaScript powering it by updating the time.
I mainly used the nth-child
CSS selector to turn lights on and off depending on the class of the parent div
. You can view the full code on the codepen