JSFiddle - React, Tailwind, and code Playground
by jitendravyas
HTML
<div class="button">
<div class="tail"></div>
Back
</div>
CSS
body {padding:100px; background-color: #1693da;}
.button {
padding:0 60px;
color:#fff;
line-height: 100px;
border-radius: 20px;
border: solid #ccc 10px;
box-shadow: 0 1px 2px #fff, 0 -1px 1px #666, inset 0 -1px 1px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.8);
background:#117ebb;
font-size:20px;
position: relative;
}
.tail {
position: absolute;
height: 119%;
width: 8%;
overflow: hidden;
left: -7.6%;
top: -9%;
}
.tail::after {
content: '';
position: absolute;
width: 70px;
height: 70px;
background: #117ebb;
left:30px;
top: 24px;
-webkit-transform: rotate(45deg);
border-radius: 3px 0 3px 0;
box-shadow: 0 1px 0 #0A4A6E;
}
.tail::before {
content: '';
position: absolute;
width: 137%;
height: 72%;
background:
#ccc;
left: 30%;
top: 15%;
-webkit-transform: rotate(45deg);
border-radius: 3px 0 3px 0;
}