codepens/pie-chart-with-pure-css/dist/style.css

13 lines
244 B
CSS

.pie-chart {
width: 340px;
height: 340px;
background: conic-gradient(#8b22ff 0% 25%, #ffc33b 25% 56%, #21f3d6 56% 100%);
border-radius: 50%;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}