JSFiddle - React, Tailwind, and code Playground

by ozzon91

HTML

<div class="full_bl">
    <div id="one">
        <div id="rectangle"></div>
        <div id="boll"></div>        
    </div>
    <div id="two"></div>
</div>

CSS

.full_bl {
    position: relative;
}

#one {
    background: red;
    border-radius: 8px 8px 0 0;
    position: relative;
    width: 150px;
    height: 50px
}

#two {
    background: red;
    border-radius: 0 8px 8px 8px;
    width: 250px;
    height: 150px
}

#boll {
    content: '';
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 10px;
    border-color: red;
}

#rectangle {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 10px;
    height: 10px;
    background: red;
}