# Concave Neumorphism

> Convex and concave soft UI surfaces side by side, shaped by flipping one diagonal gradient.

- Category: [CSS Box Shadows](https://copy-css.com/category/shadows)
- Tags: convex, neumorphic, soft ui, gradient, dial
- Live preview: https://copy-css.com/snippets/concave-neumorphism
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="neu-convex"></div>
<div class="neu-concave"></div>
```

## CSS

```css
.neu-convex,
.neu-concave {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow:
    8px 8px 16px #b8bec7,
    -8px -8px 16px #ffffff;
}

/* Light top-left = bulges out */
.neu-convex {
  background: linear-gradient(145deg, #f0f4f9, #caced4);
}

/* Dark top-left = dips in */
.neu-concave {
  background: linear-gradient(145deg, #caced4, #f0f4f9);
}
```

## Notes

- This CSS Concave Neumorphism is 19 lines of pure CSS (0.4 KB) with no JavaScript and no dependencies. It uses linear gradients and box shadows.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
