HTML
1
<button>CLICK</button>
CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
button { border: none; background-color: #976D70; color: #fff; padding: 10px 20px; transition: .2s; border-radius: 6px; box-shadow: #665367 0 7px 2px, #000 0 8px 6px; cursor: pointer; } button:active { transform: translateY(8px); box-shadow: #665367 0 0 0, #000 0 0 3px; }