JSFiddle - React, Tailwind, and code Playground
by firegroove
HTML
<div class="circle">
<div class="sector1"></div>
<div class="sector2"></div>
<div class="round-middle"></div>
</div>
CSS
.circle {
position:relative;
display:inline-block;
width:300px;
height:300px;
border-radius:50%;
overflow:hidden;
}
.circle:before, .circle:after, .circle > div:before, .circle > div:after {
content:'';
position:absolute;
z-index:-1;
}
.circle:before {
bottom:50%;
left:50%;
margin-left:2px;
margin-bottom:2px;
border-top: 300px solid transparent;
border-right:150px solid gold;
}
.circle:after{
top:50%;
left:50%;
margin-left:2px;
margin-top:2px;
border-right:150px solid gold;
border-bottom:300px solid transparent;
}
.sector1:before {
bottom:50%;
right:50%;
margin-right:2px;
margin-bottom:2px;
border-top: 300px solid transparent;
border-left:150px solid gold;
}
.sector1:after {
bottom:50%;
margin-bottom:5px;
border-top: 300px solid gold;
border-right:150px solid transparent;
border-left:150px solid transparent;
}
.sector2:before {
top:50%;
right:50%;
margin-right:2px;
margin-top:2px;
border-bottom:300px solid transparent;
border-left:150px solid gold;
}
.sector2:after {
top:50%;
margin-top:5px;
border-right:150px solid transparent;
border-bottom:300px solid gold;
border-left:150px solid transparent;
}
.round-middle{
position:absolute;
top:96px; left:96px;
width:100px; height:100px;
border:4px solid #fff;
border-radius:50%;
background:gold;
}