Word Clock
A copy-paste watch faces & clocks component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Watch Faces & ClocksHTMLCSSany framework
ITAISLFTENHALFQUARTERTWENTYFIVEMINUTESTOPASTONETWOTHREEFOURFIVESIXSEVENEIGHTNINEO'CLOCK
Copy into your project
HTML
<div class="nuda-word" role="img" aria-label="It is half past three">
<div class="nuda-word__grid">
<span class="nuda-word__on">IT</span>
<span>A</span>
<span class="nuda-word__on">IS</span>
<span>L</span>
<span>F</span>
<span>TEN</span>
<span class="nuda-word__on">HALF</span>
<span>QUARTER</span>
<span>TWENTY</span>
<span>FIVE</span>
<span>MINUTES</span>
<span>TO</span>
<span class="nuda-word__on">PAST</span>
<span>ONE</span>
<span>TWO</span>
<span class="nuda-word__on">THREE</span>
<span>FOUR</span>
<span>FIVE</span>
<span>SIX</span>
<span>SEVEN</span>
<span>EIGHT</span>
<span>NINE</span>
<span class="nuda-word__on">O'CLOCK</span>
</div>
</div>CSS
/* Word Clock
Famous QlockTwo-style typographic clock. Active words highlight in
the accent color; the rest fade into the background. */
.nuda-word {
--accent: #e4ff54;
--dim: #33333a;
display: inline-block;
padding: 18px;
background: #09090b;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 12px;
max-width: 240px;
font-family: ui-monospace, Menlo, monospace;
}
.nuda-word__grid {
display: flex;
flex-wrap: wrap;
gap: 6px 8px;
font-size: 13px;
font-weight: 600;
letter-spacing: 1px;
}
.nuda-word__grid > span {
color: var(--dim);
transition: color 0.4s ease;
}
.nuda-word__on {
color: var(--accent);
text-shadow: 0 0 8px rgba(228, 255, 84, 0.4);
animation: nuda-word-glow 4s ease-in-out infinite;
}
.nuda-word__on:nth-child(3n) { animation-delay: 0.6s; }
.nuda-word__on:nth-child(5n) { animation-delay: 1.2s; }
@keyframes nuda-word-glow {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
.nuda-word__on { animation: none; }
}How to use Word Clock
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.