JSFiddle - React, Tailwind, and code Playground
by anothernick
HTML
<div class='wrap'>
<div class='bow'><div class='inner'></div></div>
</div>
CSS
.wrap{
width: 100px;
margin: 40px auto;
position: relative;
}
.bow{
width: 50px;
height: 50px;
background-color: #00FF00;
border-radius: 25px;
position: absolute;
}
.inner{
position:relative;
height:100%;
width: 100%;
border-radius: 25px;
box-shadow: inset 0 2px 0 #FFF, inset 2px 0 0 #FFF, inset -2px 0 0 #FFF, inset 0 -2px 0 #FFF,
0 2px 0 #00ff00, 0 -2px 0 #00ff00, 2px 0 0 #00ff00, -2px 0 0 #00ff00,
inset 0 3px 0 rgba(255,255,255,.8);
z-index: 20;
}
.bow:before{
content: '';
height: 0;
width: 0;
position: absolute;
border-left: 100px solid #00ff00;
border-top: 35px solid transparent;
border-bottom: 35px solid transparent;
border-right: 0 solid transparent;
left:-50px;
top: -8px;
}
.bow:after{
content: '';
height: 0;
width: 0;
position: absolute;
border-right: 100px solid #00ff00;
border-top: 35px solid transparent;
border-bottom: 35px solid transparent;
border-left: 0 solid transparent;
right:-50px;
top: -8px;
}