What motion blur actually is

A camera records a frame between the moment its shutter opens and the moment it closes again. If the subject moves during that interval, it occupies a series of positions across the frame rather than one. The result is a steady smear with the moving object rendered semi-transparent, the background showing through it.

A blurry man wearing a red shirt on a blue bike speeding through the forest.
Real motion blur in action (Photo: Kevin Erdvig, Unsplash)

Software fakes this by generating subframes and compositing them at a fraction of full opacity — many copies of one object, each nudged slightly further along the path of motion. Compositing tools expose the subdivision count as a setting; drop it low and the trick becomes visible, as in this dot animation rendered at four samples per frame:

Four overlapping white opaque circles on a black background.
Four samples per frame.
Twelve overlapping white opaque circles on a black background.
Here is 12 samples per frame.
Thirty-two overlapping white opaque circles on a black background.
And by the time we’re at 32 samples per frame, it’s pretty close to fully real, especially when seen at multiple frames per second.

How many samples look convincing depends entirely on the content. A small, sharp-edged object moving very fast needs many subframes; a soft, slow-moving shape may need only a handful. More is generally more persuasive.

Building the effect with CSS

The CSS approximation rests on three ingredients: a large set of identical elements, low opacity on each, and animations offset by a tiny time difference.

Start with the base animation you want to blur, driven by a CSS transition. The example uses a simple black dot that receives a transform on hover (or tap on mobile), with border radius and color also animated to demonstrate how flexible the technique is. Here it is without any blur:

  • Create 20 clones of the element and stack them in the same spot using absolute positioning.
  • Set each clone to 10% opacity. That is slightly more than strict math would call for, but the copies need the extra weight to read as solid.
  • Give each clone a slightly larger transition-delay, spaced three milliseconds apart. All clones run the identical animation, just staggered in time.

Because the clones share one animation definition, the pseudo-blur survives almost any change you make to it — color shifts, scaling transitions, irregular timings all continue to blur correctly.

Tuning and caveats

Twenty clones covers a wide range of fast and slow animations, but fewer still read as motion blur. The clone count, their opacity and the delay spacing may all need adjustment for a given animation. The demo is deliberately overclocked so the blur is easy to see.

Native support may arrive as browser and hardware power grow, which would retire the whole stack of 20 identical elements. Until then, this remains a reasonable approximation of a realistic motion blur.