# Dot Grid Pattern

> A subtle dotted grid background, great behind canvases and empty states.

- Category: [CSS Gradients & Patterns](https://copy-css.com/category/gradients)
- Tags: pattern, dots, grid, radial-gradient, background
- Live preview: https://copy-css.com/snippets/dot-grid-pattern
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="dot-grid"></div>
```

## CSS

```css
.dot-grid {
  background-color: #f8fafc;
  background-image: radial-gradient(#94a3b8 1.2px, transparent 1.4px);
  background-size: 18px 18px;
}
```

## Notes

- This CSS Dot Grid Pattern is 5 lines of pure CSS (0.1 KB) with no JavaScript and no dependencies. It uses radial gradients.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
