JSFiddle - React, Tailwind, and code Playground
HTML
<div id="round">
<span id="one"></span>
<span id="two"></span>
<span id="three"></span>
<span id="for"></span>
</div>
<div id="round">
<span id="one"></span>
<span id="two"></span>
<span id="three"></span>
<span id="for"></span>
</div>
CSS
#round {
position: relative;
margin: auto;
top: 100px;
width:200px;
height:200px;
border-radius: 200px;
overflow: hidden;
}
#round:after {
position: absolute;
content: "";
left: 10px;
top: 10px;
border: 90px solid grey;
border-radius: 100%;
z-index: 200;
}
#one {
position: absolute;
top: -100px;
left: -100px;
width: 0;
height: 0;
border-radius: 200px;
border: 100px solid white;
padding: 100px;
z-index: 2;
}
#two {
position: absolute;
top: 100px;
left: 100px;
width: 10px;
height: 0;
border-top: 200px solid blue;
border-left: 150px solid green;
border-bottom: 200px solid yellow;
z-index: 1;
}
#three {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 0;
border-left: 100px solid yellow;
border-top: 100px solid blue;
border-right: 100px solid blue;
z-index: 1;
}
#for {
position: absolute;
top: 100px;
width: 10px;
height: 0;
border-top: 200px solid yellow;
border-right: 100px solid red;
border-bottom: 200px solid yellow;
z-index: 1;
}