I want to be able to draw a circle with its segment of a different color, I would like the number of the covered segment to increase in 10% increments from 0% to 100% .
Any examples on Google are all sectors, not segments.

So far this is the best I could come up with:
div.outerClass { position: absolute; left: 10px; top: 10px; height: 2.5px; overflow: hidden; -ms-transform: rotate(270deg); -webkit-transform: rotate(270deg); transform: rotate(270deg); } div.innerClass { width: 10px; height: 10px; border: 5px solid green; border-radius: 36px; }
<div class="outerClass"> <div class="innerClass"></div> </div>
0% , 50% and 100% I can do everything.
html css css3 css-shapes svg
Greg May 23 '15 at 13:04 2015-05-23 13:04
source share