🚦 Cool Traffic Lights Animation
- Each light fades in and out using the CSS
- The opacity of each light is controlled by the
animation-delayproperty straggers the timing of the change
box-shadowproperty creates the glow effect for the lights
- The animation can be played / paused using the switch button
A CSS animations let an element gradually change from one style to another. You can change as many CSS properties you want, as many times you want.