# Elevation Scale

> Three ready-made shadow levels for a consistent design system.

- Category: [CSS Box Shadows](https://copy-css.com/category/shadows)
- Tags: elevation, design system, box-shadow, levels
- Live preview: https://copy-css.com/snippets/elevation-scale
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="elevation-1"></div>
<div class="elevation-2"></div>
<div class="elevation-3"></div>
```

## CSS

```css
.elevation-1 {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.06);
}

.elevation-2 {
  box-shadow: 0 4px 8px -2px rgba(15, 23, 42, 0.12), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
}

.elevation-3 {
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.2), 0 6px 12px -6px rgba(15, 23, 42, 0.12);
}
```

## Notes

- This CSS Elevation Scale is 11 lines of pure CSS (0.3 KB) with no JavaScript and no dependencies. It uses box shadows.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
