JSFiddle - React, Tailwind, and code Playground
by c_vilander
HTML
<div class="btn">
<p>schöpeh</p>
</div>
CSS
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: linear-gradient(#ccc 0%, #eee 100%);
}
.btn {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
margin: auto;
width: 125px;
height: 30px;
border-radius: 5px;
background: orange;
border-bottom: 3px solid #d96c17;
text-align: center;
}
.btn p {
line-height: 30px;
margin: 0;
padding: 0;
color: #fff;
font-family: ‘Arial Narrow’, sans-serif;
font-weight: 100;
letter-spacing: 1px;
text-shadow: 0 0 3px #7a7a7a;
}
.btn:active {
border-bottom: 0 solid #d96c17;
}