JSFiddle - React, Tailwind, and code Playground
by kuonyuu
HTML
<div class="button">Edit Profile</div>
CSS
.button {
position: relative;
line-height: 28px;
font-size: 12px;
background-color: #fed1e7;
border: 2px solid #000;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
display: inline-block;
padding: 0 10px;
cursor: pointer;
font-weight: bold;
box-shadow: 1px 1px 0px 0px #fed1e7, 2px 2px 0px 0px #fed1e7;
}
.button:before {
width: 100%;
height: 100%;
position: absolute;
border: 2px solid #000;
left: 2px;
bottom: -6px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
content: "";
z-index: -1;
box-shadow: -1px -1px 0 #000, -1px -2px 0 #000;
}
.button:after {
font-size: 10px;
height: 3px;
width: 0px;
border: 1px solid #000;
font-weight: bold;
position: absolute;
color: #000;
right: -4px;
bottom: -5px;
content: "";
transform: rotate(-50deg);
-webkit-transform: rotate(-50deg);
}