Warp background

Also called warp tunnel, perspective grid tunnel, or hyperspace background

A tunnel of grid walls receding to a vanishing point, with streaks of light racing along them, that frames a card in the middle.

What is Warp background?

A warp background surrounds a card with four grid planes that run back toward a single vanishing point, so the card seems to sit at the mouth of a tunnel. Colored streaks travel along the grid lines toward the viewer and give a sense of speed. It suits launch moments, deploy screens, and heroes that promise speed.

It is plain CSS 3D. A container sets perspective, and each wall is one of its edges turned 90° away from the viewer with rotateX or rotateY around that edge, painted with a repeating line gradient for the grid. Each streak is a small gradient element on a wall that loops its transform from the far end to the near edge. A smaller perspective value makes a deeper, more dramatic tunnel.

Hide the far end behind the card or a soft radial fade, and keep the streaks few and thin so the card stays the focus. Mark the tunnel aria-hidden. The streaks only change transform, so the loop is cheap, but stop them under prefers-reduced-motion and leave the still grid in place.

Often confused with

Retro grid
A retro grid is a single floor plane scrolling toward the horizon. A warp background surrounds the content with four walls that meet at one vanishing point.
All terms

Perspective

A CSS property that sets how far the viewer sits from a 3D scene, so rotated elements look deep up close and flatter from far away.

Grid background

A decorative background of thin grid lines, dots, stripes, or hexagons, often faded toward the edges, used behind hero sections and product shots.

Meteors

Thin streaks of light with bright heads that shoot diagonally across a dark card or hero at random intervals, like a meteor shower.

Border beam

A short streak of light that travels around the edge of a card or button on a loop, drawing attention to it.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.