# Smooth Hairline Shadow

> A hairline edge plus doubling shadow layers for crisp, natural depth.

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

## HTML

```html
<div class="shadow-smooth"></div>
```

## CSS

```css
.shadow-smooth {
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 1px 1px -0.5px rgba(0, 0, 0, 0.05),
    0 3px 3px -1.5px rgba(0, 0, 0, 0.05),
    0 6px 6px -3px rgba(0, 0, 0, 0.05),
    0 12px 12px -6px rgba(0, 0, 0, 0.05),
    0 24px 24px -12px rgba(0, 0, 0, 0.05);
}
```

## Notes

- This CSS Smooth Hairline Shadow 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.
