JSFiddle - React, Tailwind, and code Playground
HTML
<div id="round">
<span></span>
<span id="two"></span>
<span></span>
</div>
<div id="prob"></div>
CSS
#round {
position: relative;
width:200px;
height:200px;
border-radius: 200px;
overflow: hidden;
}
span:first-child {
position: absolute;
top: -100px;
left: -100px;
width: 0;
height: 0;
border-radius: 200px;
border: 100px solid black;
padding: 100px;
z-index: 2;
}
span:last-child {
position: absolute;
top: 0;
width: 10px;
height: 0;
border-top: 200px solid grey;
border-right: 100px solid red;
border-bottom: 200px solid grey;
z-index: 1;
}
#two {
position: absolute;
top: 0;
left: 100px;
width: 10px;
height: 0;
border-top: 200px solid yellow;
border-left: 150px solid green;
border-bottom: 200px solid yellow;
z-index: 1;
}
#prob {
position: relative;
width: 200px;
height: 200px;
background-color: grey;
}