Dev Helpers
← Back

Pulse a decorative status marker

Pulse a decorative status marker with native CSS. The preview includes a small shared demo stylesheet.

Open this example in the interactive library

Source code

<style>
  @keyframes pulse {
    50% {
      opacity: 0.5;
    }
  }
  .tile {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .tile {
      animation: none;
    }
  }
</style>
<div class="demo">
  <span class="tile" aria-hidden="true">●</span> Connecting
</div>