conic gradient pie chart
change % of yellow in background-image.
by trentHarlem
HTML
<div class='pie'></div>
CSS
.pie {
position: absolute;
height: 200px;
width: 200px;
border-radius: 50%;
background-image: conic-gradient(yellow 20%, dodgerblue 0);
overflow: hidden;
}