The Lab - CSS

VFD clock

The glow of a vacuum-fluorescent display - the tech in every clock radio of the 80s - rebuilt in pure CSS with one timer tick.

--:--:--

24-hour clock, your local time

How it works

Three CSS layers fake the physics. The digits are a monospace face tinted #7feaff - VFDs glow cyan-teal because the phosphor is zinc-doped, unlike amber LED displays. text-shadow stacks three blurred copies of the text for bloom: tight, medium and wide. And a repeating-linear-gradient overlay draws the scanlines plus a slight vertical falloff, like a real glass front.

JavaScript is one setInterval formatting Date into HH:MM:SS - the display does the showing off, the logic is nothing. The production VFD clock ships on this site's rack in rack.js.