AI CSS Animations

Wi-Fi Signal Loader

Three signal arcs light up outward from a dot, over and over, the universal 'connecting…' symbol. Good for reconnect states, pairing and network checks.

Also known as: connecting animation, signal strength loader.

HTML

<div class="ldr-wifi" role="status" aria-label="Connecting">
  <span></span><span></span><span></span>
</div>

CSS

.ldr-wifi {
  --s: var(--ldr-size, 48px);
  --c: var(--ldr-color, #3b82f6);
  position: relative;
  width: var(--s);
  height: var(--s);
}
.ldr-wifi::before {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: calc(var(--s) / 8);
  height: calc(var(--s) / 8);
  margin-left: calc(var(--s) / -16);
  border-radius: 50%;
  background: var(--c);
}
.ldr-wifi span {
  position: absolute;
  bottom: calc(8% + var(--s) / 16 - var(--s) * var(--r) / 2);
  left: 50%;
  width: calc(var(--s) * var(--r));
  height: calc(var(--s) * var(--r));
  border: calc(var(--s) / 12) solid transparent;
  border-top-color: var(--c);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: ldr-wifi-light 1.6s ease-in-out infinite;
}
.ldr-wifi span:nth-child(1) { --r: 0.38; }
.ldr-wifi span:nth-child(2) { --r: 0.68; animation-delay: 0.2s; }
.ldr-wifi span:nth-child(3) { --r: 0.98; animation-delay: 0.4s; }
@keyframes ldr-wifi-light {
  0%, 100% { opacity: 0.15; }
  25%, 65% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ldr-wifi, .ldr-wifi *, .ldr-wifi::before, .ldr-wifi::after {
    animation-duration: 3s;
  }
}

Customizing this loader

  • Color: set --ldr-color on the element or a parent. Currently previewing #3b82f6.
  • Size: set --ldr-size. Every dimension in the snippet is derived from it. Currently previewing 64px.
  • Speed: change the duration on the animation shorthand. Delays on the children are relative, so they keep their rhythm.
  • Accessibility: the root carries role="status" and an aria-label so screen readers announce the wait. The reduced-motion rule at the end slows the animation for users who asked for less motion.

Similar loaders