Retro grid

Also called synthwave grid, perspective grid, or outrun grid

A neon floor grid in perspective that slides toward the viewer and fades out at the horizon, borrowed from 1980s synthwave art.

What is Retro grid?

A retro grid lays a square grid on an imaginary floor and tilts it away from the viewer, so the lines run toward a horizon. The rows slide toward you in an endless loop, like flying low over a digital landscape. Neon pink or cyan lines on a dark sky, often with a striped sunset sun, give the classic synthwave look; faint gray lines on a light page give a quieter version for product sites.

In CSS, a container with perspective holds a tall plane tilted back with rotateX(), around 60 to 75 degrees. The plane’s background is a linear-gradient grid, and a child layer moves with translateY by exactly one cell per loop, so the reset is invisible. A gradient fades the far rows into the sky. A canvas can draw the same scene with a little projection math when you need exact control of the horizon.

Keep it behind the content, low in contrast on light backgrounds, and slow, about one cell per second. Animate only transform so the loop stays smooth, pause it off screen, and leave the grid still for people who prefer reduced motion.

Often confused with

Grid background
A grid background is a flat pattern behind content. A retro grid tilts the grid into a 3D floor and keeps it moving toward the viewer.
All terms

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.

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.

Looping animation

An animation that plays more than once, either a set number of times or forever, set in CSS with animation-iteration-count.

Hero section

The large first section at the top of a landing page, with a headline, a short subhead, a call to action, and a visual.

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.