JSFiddle - React, Tailwind, and code Playground
by Константин Дралюк
HTML
<input type="button" class="btn" value="Button" />
CSS
input[type="button"].btn {
background:#0f4c99;
color:#fff;
border:0;
outline:0;
height:40px;
width:220px;
border-radius:10px;
-moz-box-shadow: 0 4px 0 #000000;
-webkit-box-shadow: 0 4px 0 #000000;
box-shadow: 0 4px 0 #000000;
transition:0.1s ease;
cursor:pointer;
}
input[type="button"].btn:hover {
-moz-box-shadow: 0 2px 0 #000000;
-webkit-box-shadow: 0 2px 0 #000000;
box-shadow: 0 2px 0 #000000;
transition:0.1s ease;
height:41px;
margin-top:2px;
background:#0f6c99;
}
input[type="button"].btn:active {
-moz-box-shadow: 0 0px 0 #000000;
-webkit-box-shadow: 0 0px 0 #000000;
box-shadow: 0 0px 0 #000000;
transition:0.1s ease;
height:41px;
margin-top:4px;
transition:0.1s ease;
background:#0f7c99;
}