AI CSS Animations

95 Style Startup Screen Text

A Windows 95 style splash: drifting clouds on a blue sky, a chunky wordmark, Starting up with dots ticking, and the gradient bar sliding along the bottom. Gradients only, seamless loop.

Also known as: windows 95 css, win95 css, windows 95 boot screen, retro startup screen css.

HTML

<div class="txt-win95-startup-screen" aria-label="Starting up">
  <span class="txt-win95-startup-screen-mark" aria-hidden="true"><small>Personal</small><b>Desktop<sup>95</sup></b></span>
  <span class="txt-win95-startup-screen-msg" aria-hidden="true">Starting up<span>...</span></span>
  <span class="txt-win95-startup-screen-bar" aria-hidden="true"></span>
</div>

CSS

.txt-win95-startup-screen {
  --c: var(--txt-color, #3b82f6);
  font-size: calc(var(--txt-size, 32px) * 0.5);
  font-family: system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  display: inline-grid;
  place-items: center;
  align-content: center;
  gap: 0.6em;
  width: 27em;
  height: 12.5em;
  overflow: hidden;
  border-radius: 0.4em;
  color: #fff;
  background:
    radial-gradient(4em 1.6em at 12% 22%, rgb(255 255 255 / 0.75), transparent 70%),
    radial-gradient(5em 1.8em at 22% 30%, rgb(255 255 255 / 0.6), transparent 70%),
    radial-gradient(6em 2em at 62% 16%, rgb(255 255 255 / 0.55), transparent 70%),
    radial-gradient(4.5em 1.6em at 78% 26%, rgb(255 255 255 / 0.7), transparent 70%),
    radial-gradient(6em 2em at 40% 82%, rgb(255 255 255 / 0.5), transparent 70%),
    radial-gradient(5em 1.8em at 88% 76%, rgb(255 255 255 / 0.55), transparent 70%),
    radial-gradient(4em 1.4em at 8% 70%, rgb(255 255 255 / 0.5), transparent 70%),
    linear-gradient(#3f7fd8, #7db3ee);
  background-size: 27em 100%, 27em 100%, 27em 100%, 27em 100%, 27em 100%, 27em 100%, 27em 100%, 100% 100%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
  animation: txt-win95-startup-screen-sky 24s linear infinite;}
.txt-win95-startup-screen-mark {
  display: grid;
  justify-items: start;
  line-height: 1;
  text-shadow: 0.06em 0.08em 0 rgb(0 0 40 / 0.35);
}
.txt-win95-startup-screen-mark small {
  font-size: 0.8em;
  font-weight: 600;
  font-style: italic;
  margin-left: 0.2em;
}
.txt-win95-startup-screen-mark b {
  font-size: 2.6em;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.txt-win95-startup-screen-mark sup {
  font-size: 0.5em;
  margin-left: 0.08em;
  color: color-mix(in srgb, var(--c) 35%, #fff);
}
.txt-win95-startup-screen-msg {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  font-weight: 600;
  text-shadow: 0.06em 0.06em 0 rgb(0 0 40 / 0.35);
}
.txt-win95-startup-screen-msg span {
  display: inline-block;
  width: 3ch;
  overflow: hidden;
  vertical-align: bottom;
  animation: txt-win95-startup-screen-dots 2s steps(4) infinite;
}
.txt-win95-startup-screen-bar {
  position: absolute;
  inset: auto 0 0;
  height: 0.6em;
  background: linear-gradient(90deg, #0b3b8c, color-mix(in srgb, var(--c) 50%, #4fb2ff), #b9e6ff, color-mix(in srgb, var(--c) 50%, #4fb2ff), #0b3b8c) 0 0 / 50% 100%;
  animation: txt-win95-startup-screen-bar 1.6s linear infinite;
}
@keyframes txt-win95-startup-screen-sky {
  to { background-position: 27em 0, 27em 0, 27em 0, 27em 0, 27em 0, 27em 0, 27em 0, 0 0; }
}
@keyframes txt-win95-startup-screen-dots {
  from { width: 0; }
  to { width: 4ch; }
}
@keyframes txt-win95-startup-screen-bar {
  to { background-position: 13.5em 0; }
}
@media (prefers-reduced-motion: reduce) {
  .txt-win95-startup-screen, .txt-win95-startup-screen *, .txt-win95-startup-screen *::before, .txt-win95-startup-screen *::after { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .txt-win95-startup-screen, .txt-win95-startup-screen *, .txt-win95-startup-screen::before, .txt-win95-startup-screen::after, .txt-win95-startup-screen *::before, .txt-win95-startup-screen *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

Customizing this snippet

  • Color: set --txt-color on the element or a parent. Currently previewing #3b82f6.
  • Font size: set --txt-size. Every other dimension is in em, so the whole thing scales together. Currently previewing 40px.
  • Speed: change the duration on the transition or animation shorthand. Staggered delays are relative, so they keep their rhythm.
  • Reduced motion: the rule at the end of the CSS turns the motion off for people who asked their OS for less of it. Keep it.

Similar text animations