I have created 4 circles. One is the parent circle(background color) and 3 inner circles (I have set the white border to each).
I have to create a circle like the below image on my page and I tried the below code but I am getting full circle. I need to know how to show only half circle on the page?
Is this the best way to show the circle on the page?
.circle-big {
width: 800px;
height: 800px;
background: linear-gradient(180deg, rgba(255, 176, 0, 0) 0%, rgba(255, 176, 0, 0.32) 100%);
border-radius: 50%;
position: relative;
}
.circle-big div:nth-child(1) {
width: 600px;
height: 600px;
}
.circle-big div:nth-child(2) {
width: 400px;
height: 400px;
}
.circle-big div:nth-child(3) {
width: 200px;
height: 200px;
}
.circle-big>div {
border: 20px solid #fff;
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
}
<div class="circle-big">
<div></div>
<div></div>
<div></div>
</div>
