# 3D Push Button

> A chunky, tactile button that physically sinks down when you press it.

- Category: [CSS Buttons](https://copy-css.com/category/buttons)
- Tags: 3d, active, press, click
- Live preview: https://copy-css.com/snippets/pushable-3d-button
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<button class="btn-3d">Press me</button>
```

## CSS

```css
.btn-3d {
  padding: 14px 32px;
  border: 0;
  border-radius: 12px;
  background: #f43f5e;
  color: #fff;
  font: 700 16px/1 system-ui, sans-serif;
  box-shadow: 0 6px 0 #be123c;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-3d:hover {
  filter: brightness(1.05);
}

.btn-3d:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #be123c;
}
```

## Notes

- This CSS 3D Push Button is 20 lines of pure CSS (0.4 KB) with no JavaScript and no dependencies. It uses transitions, transforms, box shadows and filters.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
