JSFiddle - React, Tailwind, and code Playground

HTML

<div id="foo">
    <div id="bar">
        1
    </div>
    <p>Some text here</p>
</div>

CSS

body{background:green; color: #fff; text-align: center;}

#foo {
    height:150px;
    width:250px;
    background: rgba(0, 0, 0, 0.6);
    position:absolute;
    left:40%;
    top:20%;
}

#bar {
    height:40px;
    width:40px;
    position:absolute;
    top:-15px;
    left:-15px;
    line-height: 40px;
}

#bar:before,
#bar:after {
    content: '';
    display: block;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 40px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

#bar:before {
    clip: rect(0 40px 15px 0); 
}

#bar:after {
    clip: rect(15px 15px 40px 0); 
}



#foo p {
    margin: 10px;
}