.circle
{
width: 100px;
height: 100px;
border-radius: 50%;
border: 1px solid;
}
<div class="circle">
</div>
<div class="value">30</div>
If value is 30, I just want to fill the circle 30% with a color let it be red. How do i do this using only css?
EDIT to answer @AMIT
.fullCircle
{
width: 100px;
height:100px;
bordeR: 1px solid;
border-radius: 50%;
background-color: #f00;
}
<div class="fullCircle">
</div>
It is 100% filled circle. So I hope you clear now what I mean by 30% filled circle.
If it is possible by CSS, it will be compatible. Why not?
EDIT
A google Image to answer filled
link