32 CSS Timelines13 / 32

Pure CSSMIT licensed

Mission Control Timeline — T-Minus Event Log with Status Dots

Launch-console aesthetics with dashboard discipline: a T-minus/T-plus event sequence in strict monospace, GO/HOLD/NO-GO status lights paired with text labels, a phosphor-green 'now' cursor line, and scan-line texture — the high-contrast technical idiom for aerospace dashboards, infra monitoring and countdown pages.

Published Updated

Live Demo
Try it

The code

<section class="tls-13" aria-label="Mission control timeline demo">
  <div class="tls-13__console">
    <header class="tls-13__bar"><span class="tls-13__mission">ARTEMIS-C · CREW ROTATION 4</span><span class="tls-13__clock">MET 00:02:14</span></header>
    <ol class="tls-13__log" role="list">
      <li class="tls-13__row tls-13__row--past"><span class="tls-13__t">T−00:45:00</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Crew ingress complete, hatch sealed</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__row tls-13__row--past"><span class="tls-13__t">T−00:12:00</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Propellant load complete · tanks at flight press</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__row tls-13__row--past"><span class="tls-13__t">T−00:04:00</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Final poll: all stations report</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__now" aria-hidden="true"><span>◄ NOW</span></li>
      <li class="tls-13__row"><span class="tls-13__t">T+00:02:14</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Max-Q passed · vehicle nominal</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__row"><span class="tls-13__t">T+00:08:30</span><span class="tls-13__light" data-s="hold" aria-hidden="true"></span><span class="tls-13__ev">MECO confirm awaiting downrange telemetry</span><span class="tls-13__st">HOLD</span></li>
      <li class="tls-13__row"><span class="tls-13__t">T+00:12:00</span><span class="tls-13__light" data-s="pending" aria-hidden="true"></span><span class="tls-13__ev">Orbit insertion burn</span><span class="tls-13__st">PEND</span></li>
    </ol>
  </div>
</section>
.tls-13,
.tls-13 *,
.tls-13 *::before,
.tls-13 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.tls-13 {
  min-height: 100vh;
  width: 100%;
  --tl-go: #4ade80;
  --tl-hold: #facc15;
  --tl-nogo: #f87171;
  --tl-ink: #d8e4d8;
  --tl-mut: #5c6b5c;
  font-family: ui-monospace,'Cascadia Code',Menlo,Consolas,monospace;
  background: #060a06;
  padding: 56px 24px;
  display: grid;
  place-items: center;
}

.tls-13__console {
  width: min(660px,100%);
  background: #0a120a;
  border: 1px solid #1c2b1c;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.tls-13__console::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg,rgba(120,255,150,.03) 0 1px,transparent 1px 3px);
  pointer-events: none;
}

.tls-13__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #1c2b1c;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--tl-go);
}

.tls-13__clock {
  color: var(--tl-ink);
}

.tls-13__log {
  list-style: none;
  padding: 12px 20px 18px;
  display: flex;
  flex-direction: column;
}

.tls-13__row {
  display: grid;
  grid-template-columns: 10ch 14px 1fr 5ch;
  align-items: center;
  gap: 14px;
  padding-block: 9px;
  font-size: 12.5px;
}

.tls-13__row--past {
  opacity: .58;
}

.tls-13__t {
  text-align: right;
  color: var(--tl-mut);
  font-variant-numeric: tabular-nums;
}

.tls-13__row--past .tls-13__t {
  color: var(--tl-mut);
}

.tls-13__light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tls-13__light[data-s="go"] {
  background: var(--tl-go);
  box-shadow: 0 0 8px color-mix(in srgb,var(--tl-go),transparent 40%);
}

.tls-13__light[data-s="hold"] {
  background: var(--tl-hold);
  box-shadow: 0 0 8px color-mix(in srgb,var(--tl-hold),transparent 40%);
  animation: tls-13-blink 1s steps(1) infinite;
}

.tls-13__light[data-s="pending"] {
  background: transparent;
  border: 2px solid var(--tl-mut);
  box-shadow: none;
}

@keyframes tls-13-blink {
  50% {
    opacity: .25;
  }
}

.tls-13__ev {
  color: var(--tl-ink);
  letter-spacing: .02em;
}

.tls-13__st {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--tl-go);
}

.tls-13__row .tls-13__light[data-s="hold"] ~ .tls-13__st {
  color: var(--tl-hold);
}

.tls-13__row .tls-13__light[data-s="pending"] ~ .tls-13__st {
  color: var(--tl-mut);
}

.tls-13__now {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 4px;
  color: var(--tl-go);
  font-size: 10px;
  letter-spacing: .2em;
}

.tls-13__now::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,var(--tl-go),transparent);
}

@media (prefers-reduced-motion: reduce) {
  .tls-13__light[data-s="hold"] {
    animation: none;
  }
}

@media (max-width: 520px) {
  .tls-13__row {
    grid-template-columns: 9ch 12px 1fr;
    font-size: 11.5px;
  }

  .tls-13__st {
    display: none;
  }
}
/* No JavaScript — column alignment is guaranteed by monospace ch grid tracks; status is triple-encoded (color, shape, text) so nothing depends on the blink or the hue. */
Paste this into ChatGPT, Claude, Cursor, or any coding assistant. The block below is pre-framed with everything the AI needs to integrate this demo into your project — markup, styles, scoping notes, and the source URL. Hit Copy and paste straight into your chat.
Here's a working CSS Timeline from CodeFronts. Use it as-is or adapt to your framework. All classes are scoped under a unique prefix so the code won't collide with your existing styles. MIT licensed.
Demo: Mission Control Timeline — T-Minus Event Log with Status Dots
Source: https://codefronts.com/layouts/css-timelines/mission-control-timeline/

Launch-console aesthetics with dashboard discipline: a T-minus/T-plus event sequence in strict monospace, GO/HOLD/NO-GO status lights paired with text labels, a phosphor-green 'now' cursor line, and scan-line texture — the high-contrast technical idiom for aerospace dashboards, infra monitoring and countdown pages.
## HTML
```html
<section class="tls-13" aria-label="Mission control timeline demo">
  <div class="tls-13__console">
    <header class="tls-13__bar"><span class="tls-13__mission">ARTEMIS-C · CREW ROTATION 4</span><span class="tls-13__clock">MET 00:02:14</span></header>
    <ol class="tls-13__log" role="list">
      <li class="tls-13__row tls-13__row--past"><span class="tls-13__t">T−00:45:00</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Crew ingress complete, hatch sealed</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__row tls-13__row--past"><span class="tls-13__t">T−00:12:00</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Propellant load complete · tanks at flight press</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__row tls-13__row--past"><span class="tls-13__t">T−00:04:00</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Final poll: all stations report</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__now" aria-hidden="true"><span>◄ NOW</span></li>
      <li class="tls-13__row"><span class="tls-13__t">T+00:02:14</span><span class="tls-13__light" data-s="go" aria-hidden="true"></span><span class="tls-13__ev">Max-Q passed · vehicle nominal</span><span class="tls-13__st">GO</span></li>
      <li class="tls-13__row"><span class="tls-13__t">T+00:08:30</span><span class="tls-13__light" data-s="hold" aria-hidden="true"></span><span class="tls-13__ev">MECO confirm awaiting downrange telemetry</span><span class="tls-13__st">HOLD</span></li>
      <li class="tls-13__row"><span class="tls-13__t">T+00:12:00</span><span class="tls-13__light" data-s="pending" aria-hidden="true"></span><span class="tls-13__ev">Orbit insertion burn</span><span class="tls-13__st">PEND</span></li>
    </ol>
  </div>
</section>
```
## CSS
```css
.tls-13,
.tls-13 *,
.tls-13 *::before,
.tls-13 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.tls-13 {
  min-height: 100vh;
  width: 100%;
  --tl-go: #4ade80;
  --tl-hold: #facc15;
  --tl-nogo: #f87171;
  --tl-ink: #d8e4d8;
  --tl-mut: #5c6b5c;
  font-family: ui-monospace,'Cascadia Code',Menlo,Consolas,monospace;
  background: #060a06;
  padding: 56px 24px;
  display: grid;
  place-items: center;
}

.tls-13__console {
  width: min(660px,100%);
  background: #0a120a;
  border: 1px solid #1c2b1c;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.tls-13__console::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg,rgba(120,255,150,.03) 0 1px,transparent 1px 3px);
  pointer-events: none;
}

.tls-13__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #1c2b1c;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--tl-go);
}

.tls-13__clock {
  color: var(--tl-ink);
}

.tls-13__log {
  list-style: none;
  padding: 12px 20px 18px;
  display: flex;
  flex-direction: column;
}

.tls-13__row {
  display: grid;
  grid-template-columns: 10ch 14px 1fr 5ch;
  align-items: center;
  gap: 14px;
  padding-block: 9px;
  font-size: 12.5px;
}

.tls-13__row--past {
  opacity: .58;
}

.tls-13__t {
  text-align: right;
  color: var(--tl-mut);
  font-variant-numeric: tabular-nums;
}

.tls-13__row--past .tls-13__t {
  color: var(--tl-mut);
}

.tls-13__light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tls-13__light[data-s="go"] {
  background: var(--tl-go);
  box-shadow: 0 0 8px color-mix(in srgb,var(--tl-go),transparent 40%);
}

.tls-13__light[data-s="hold"] {
  background: var(--tl-hold);
  box-shadow: 0 0 8px color-mix(in srgb,var(--tl-hold),transparent 40%);
  animation: tls-13-blink 1s steps(1) infinite;
}

.tls-13__light[data-s="pending"] {
  background: transparent;
  border: 2px solid var(--tl-mut);
  box-shadow: none;
}

@keyframes tls-13-blink {
  50% {
    opacity: .25;
  }
}

.tls-13__ev {
  color: var(--tl-ink);
  letter-spacing: .02em;
}

.tls-13__st {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--tl-go);
}

.tls-13__row .tls-13__light[data-s="hold"] ~ .tls-13__st {
  color: var(--tl-hold);
}

.tls-13__row .tls-13__light[data-s="pending"] ~ .tls-13__st {
  color: var(--tl-mut);
}

.tls-13__now {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 4px;
  color: var(--tl-go);
  font-size: 10px;
  letter-spacing: .2em;
}

.tls-13__now::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,var(--tl-go),transparent);
}

@media (prefers-reduced-motion: reduce) {
  .tls-13__light[data-s="hold"] {
    animation: none;
  }
}

@media (max-width: 520px) {
  .tls-13__row {
    grid-template-columns: 9ch 12px 1fr;
    font-size: 11.5px;
  }

  .tls-13__st {
    display: none;
  }
}
```

## JavaScript
```js
/* No JavaScript — column alignment is guaranteed by monospace ch grid tracks; status is triple-encoded (color, shape, text) so nothing depends on the blink or the hue. */
```

How this works

The grid is fixed-track: grid-template-columns: 9ch 14px 1fr 8ch (T-time · light · event · station) repeated per row — ch units in a monospace stack mean the columns are ALIGNED BY THE FONT, the way real consoles are. T-times are signed (T−00:12:00 / T+00:02:14) with true minus signs, right-aligned, tabular.

Status is triple-encoded: the light's color, its shape treatment (steady vs blinking vs hollow), AND a text label in the station column — GO / HOLD / NO-GO survive grayscale, color-blindness and screen readers. The HOLD light blinks with a steps(1) opacity keyframe (a hard console blink, not a soft pulse) — and blinking stops under reduced motion, where the hollow/steady/filled shapes still differentiate states.

The 'now' line is a row-spanning element between past and future events: a 1px phosphor rule with a ◄ NOW tag. Past rows dim with opacity; future rows sit full-strength below it — time reads instantly without a single date being parsed. Scan-lines are a body-wide repeating-linear-gradient at 3% alpha; texture, not information.

Techniques used: monospace ch-track grid (font-guaranteed column alignment) · triple-encoded status (color + shape + text) · steps(1) hard blink gated by reduced-motion · past/future dimming split by a 'now' divider row · repeating-linear-gradient scan-line texture · signed tabular T-times with true minus glyphs

Make it yours

  • Feed it live: each row is static markup a template loop renders; move the NOW divider by rendering it between the right rows.
  • Phosphor hue: the --tl-go token — classic green, amber (P3 phosphor) or ice-blue all read 'console'.
  • Blink cadence: the 1s steps(1) keyframe on HOLD lights; real consoles blink 0.8–1.2s.
  • Scan-line intensity: the .03 alpha — keep it under .05 or text contrast suffers.

Gotchas — read before shipping

  • Use U+2212 (−) for T-minus, not a hyphen — hyphens are narrower than digits even in some monospace fonts and break the column rhythm.
  • Blinking content must stop within 5 seconds OR be pausable per WCAG 2.2.2 — here it's state-scoped (only HOLD rows) and killed under reduced-motion; don't blink whole rows.
  • Don't dim past rows below ~0.55 opacity — dim-but-present must still pass 4.5:1 for the smallest text.
  • Scan-lines over text are texture: keep them on a pseudo-element with pointer-events:none so selection and clicks pass through.

Browser support

ChromeSafariFirefoxEdge
111+16.2+113+111+

Floor set by color-mix() as this demo is written. The core technique itself goes back further — Chrome all.

Monospace grid tracks, steps() keyframes and gradient texture are baseline-everywhere. Nothing gated.

Techniques used in this demo

Search CodeFronts

Loading…