JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container"> 
  <div class="rect"></div>
  <div class="round_content">x</div>
  <div class="round_border"></div>
</div>

CSS

.container{
    position:relative;
    width: 50px;
    height: 150px;
}

.rect{
    position:absolute;
    width: 50px;
    height: 150px;
    background: #eee;
    border: 1px solid #000;
    z-index: 5;
        -webkit-box-shadow: 2px 2px 10px 2px #cccccc;
box-shadow: 2px 2px 10px 2px #cccccc;
}

.round_content{
    position: absolute;
    top: 50px;
    right: -25px;
    width: 50px;
    line-height: 50px;
    background: #eee;
    z-index: 6;
    text-align:center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.round_border{
    position: absolute;
    top: 49px;
    right: -26px;
    width: 52px;
    height: 50px;
    line-height: 52px;
    border: 1px solid #000;
    z-index: 4;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
        -webkit-box-shadow: 2px 2px 10px 2px #cccccc;
box-shadow: 2px 2px 10px 2px #cccccc;
}