JSFiddle - React, Tailwind, and code Playground
by Manjula Dhamodharan
HTML
<div class="circle4">
<div class="half-circle4"></div>
<div class="half-circle5"></div>
<div class="half-circle6"></div>
<div class="half-circle7"></div>
</div>
CSS
.circle4{
width: 180px;
height: 180px;
position: relative;
border:1px solid #000;
}
.half-circle4 {
width: 50px;
height: 50px;
border:40px solid #FFB6C1;
border-top-left-radius: 100%;
border-bottom: 0;
border-right: 0px;
}
.half-circle5 {
width: 50px;
height: 50px;
position:absolute;
top:0px;
left:180px;
bottom:0px;
border:40px solid #FFB6C1;
border-top-left-radius: 100%;
border-bottom: 0;
border-right: 0px;
-moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.half-circle4 {
width: 50px;
height: 50px;
border:40px solid #FFB6C1;
border-top-left-radius: 100%;
border-bottom: 0;
border-right: 0px;
}
.half-circle5 {
width: 50px;
height: 50px;
position:absolute;
top:0px;
left:90px;
bottom:0px;
border:40px solid #FFB6C1;
border-top-left-radius: 100%;
border-bottom: 0;
border-right: 0px;
-moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.half-circle6 {
width: 50px;
height: 50px;
border:40px solid #FFB6C1;
border-top-left-radius: 100%;
border-bottom: 0;
border-right: 0px;
-moz-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.half-circle7 {
width: 50px;
height: 50px;
position:absolute;
top:88px;
left:92px;
bottom:0px;
border:40px solid #FFB6C1;
border-top-left-radius: 100%;
border-bottom: 0;
border-right: 0px;
-moz-transform: rotate(178deg);
-webkit-transform: rotate(178deg);
-o-transform: rotate(178deg);
-ms-transform: rotate(178deg);
transform: rotate(178deg);
}