I tried to make a perfect half-rounded circle as the mockup in this picture:
But it does not look very much well since I could not a perfect rounded-edge of both sides of big line, and the blur background of the big line
Here my current code I tried to make:
* {
box-sizing: border-box;
}
.ellipse-container {
height: 323px;
width: 317px;
}
.ellipse {
width: 100%;
height: 100%;
border-radius: 50%;
border: 35px solid rgba(122, 211, 255, 1);
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.ellipse::before {
content: ' ';
width: 254px;
height: 252px;
background: #FFF;
position: absolute;
bottom: -41px;
right: -39px;
/*border: 1px solid;*/
}
.ellipse-2 {
width: 231.73px;
height: 231.73px;
border: 2px dashed #373838;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
}
.ellipse-2::before {
content: ' ';
position: absolute;
bottom: -3px;
left: 28%;
width: 120px;
height: 30px;
background: #FFFF;
}
.ellipse-2 p {
margin: 0;
}
.ellipse-2 p.title {
font-family: Open Sans;
font-style: normal;
font-weight: normal;
font-size: 18px;
}
.ellipse-2 p.grade {
font-family: Open Sans;
font-style: normal;
font-weight: bold;
font-size: 54px;
}
.ellisep-edge-1,
.ellisep-edge-2 {
width: 45.5px;
height: 45.5px;
border-radius: 50%;
position: absolute;
}
.ellisep-edge-1 {
background: rgba(122, 211, 255, 1);
top: 26px;
right: -11.5px;
display: flex;
justify-content: center;
align-items: center;
}
.ellisep-edge-1 .dot {
width: 7px;
height: 7px;
background: #FFFF;
border-radius: 50%;
}
.ellisep-edge-2 {
background: rgba(122, 211, 255, 1);
bottom: -7px;
left: 18px;
}
<div class="ellipse-container">
<div class="ellipse">
<div class="ellisep-edge-1"><span class="dot"></span></div>
<div class="ellisep-edge-2"></div>
<div class="ellipse-2">
<p class="title">Credit Score</p>
<p class="grade">780</p>
</div>
</div>
</div>
Any tip to make a perfect circle rounded-edge like this? Thank you very much.