Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Pie charts — with SVG
- */
- .pie {
- width: 100px;
- height: 100px;
- display: inline-block;
- margin: 10px;
- transform: rotate(-90deg);
- }
- svg {
- background: #fff;
- border-radius: 50%;
- }
- circle {
- fill: yellowgreen;
- stroke: #655;
- stroke-width: 32;
- }
- @keyframes grow { to { stroke-dasharray: 100 100 } }
- .pie.animated circle {
- animation: grow 2s infinite linear;
- }
Add Comment
Please, Sign In to add comment