CSS-Zone

Pulse grid

Grid of squares pulsing diagonally. Practical example for loaders and state indicators with live preview, HTML structure, and production-ready CSS you can integrate quickly.

Preview

HTML + CSS

<div class="pulse-grid">
  <span></span><span></span><span></span>
  <span></span><span></span><span></span>
  <span></span><span></span><span></span>
</div>

<style>
.pulse-grid{width:96px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.pulse-grid span{
  aspect-ratio:1;border-radius:8px;
  background:linear-gradient(135deg,#5b8def,#9a6bff);
  box-shadow:0 8px 18px rgba(91,141,239,.18);
  animation:pulse-grid 1.2s ease-in-out infinite;
}
.pulse-grid span:nth-child(2),.pulse-grid span:nth-child(4){animation-delay:.1s;}
.pulse-grid span:nth-child(3),.pulse-grid span:nth-child(5),.pulse-grid span:nth-child(7){animation-delay:.2s;}
.pulse-grid span:nth-child(6),.pulse-grid span:nth-child(8){animation-delay:.3s;}
.pulse-grid span:nth-child(9){animation-delay:.4s;}
@keyframes pulse-grid{0%,100%{transform:scale(.85);opacity:.8;}50%{transform:scale(1.08);opacity:1;}}
</style>

What the Pulse grid pattern demonstrates

Pulse grid is a reusable CSS animation pattern that can be integrated into modern UI without external dependencies. The example includes HTML structure and motion styles that are easy to scale for production components.

When this animation pattern is a good fit

Use this effect for state indication, visual focus, or lightweight micro-interactions that support content clarity. Motion should reinforce hierarchy, so keep speed, contrast, and density aligned with your interface goals.

How to implement it in production safely

Copy the snippet, adapt spacing and timing to your system tokens, and test behavior on mobile and low-power devices. Add reduced-motion support to keep the component accessible while preserving the same functional meaning.