GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

03Four Signals With Per-Block Offsets and a Platoon on a Green Wave

Each signal starts the same 300-frame cycle (150 green) 90 frames after the one before it, matching the roughly 87 frames a platoon needs to cover a 100 px block at 1.15 px per frame, so a platoon clears four signals without stopping.

Best forA city-traffic hero section

CYCLE_LENOFFSET_PER_BLOCKPLATOON_SPEEDBLOCK_LEN
Four Signals With Per-Block Offsets and a Platoon on a Green Wave
Open in a new tab

03 Four Signals With Per-Block Offsets and a Platoon on a Green Wave — Measured area 12.669% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Traffic Light CSS: 9 Demos With Queues and Waves

The post this demo lives in

Traffic Light CSS: 9 Demos With Queues and Waves - preview of all 9 demosTraffic Light CSS: 9 Demos With Queues and WavesA traffic light css built as a color-swapping timer lets cars roll through red, signals drift out of step and pedestrian See all demos in this post

If you like this effect - similar demos