Overview
A fixed-grid cell overlay pulse is an emphasis pattern for a dense matrix where the data layout must stay calm. The grid tracks define the information structure; the pulse is only an emphasis layer. That distinction matters. If the highlighted square grows, the row grows with it. If a pseudo-element grows above the square, the grid keeps its rhythm and the user sees exactly one active state.
When to use it
Use this for heatmaps, availability grids, calendar cells, badge matrices, seat maps, and compact status boards where one cell needs attention without re-sorting the user's mental map. It works best when the highlighted item means current, selected, focused, recently changed, or needs review. Avoid it when many cells need equal emphasis; a constantly pulsing grid turns into noise and makes comparison harder.
How it works
The grid keeps fixed columns, fixed gaps, and stable square cells. The active cell gets position: relative and a local z-index, then ::before and ::after draw the visible effect. The outline ring preset scales a border layer, the inner glow preset breathes inside the square, and the shadow halo preset expands light outside the cell. In every case, the base cell remains the same size; only overlay paint, opacity, and transform change.
Production gotchas
Do not animate grid-template-columns, gap, width, or height on the grid item unless you want neighboring UI to move. The compare demo intentionally shows the bad version by changing the target cell's height; the corrected version keeps the target box fixed and moves the pulse layer instead. Keep the active cell inside a local stacking context so the ring sits above adjacent cells without resorting to global values such as z-index: 9999.
Accessibility
Dense grids should not announce every decorative cell. Give the whole visual a concise accessible name, then expose the meaningful active state through text, aria-currentwhere appropriate, or a focused detail panel. Under prefers-reduced-motion: reduce, stop the loop and keep a static outline or fill so the important cell remains visible without repeated brightness or scale changes.
References
Implementation depth
A fixed-grid pulse should never resize the grid. The tracks, gap, and cell dimensions are the layout contract, so the emphasis belongs on absolutely positioned pseudo-elements that can scale and fade without moving neighboring cells.
The showcase presets compare expression methods first: outline ring, inner glow, and shadow halo. Once those methods are distinct, each one can carry a different domain context, so long as color and labels support the method instead of replacing it.
Semantics depend on the domain that uses the grid. Dense cells are often decorative as individual nodes, but the active cell still needs a stable text or state source. Reduced motion should keep the marker visible as a static cue instead of removing the information.