CSS pie graphs
How do I make an css pie graphs?
What is a css pie graphs? How do you make a css pie graphs? This script and codes were developed by Rico Sta. Cruz on 19 January 2023, Thursday.
CSS pie graphs - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS pie graphs</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <span class='item-bullet -p1'></span>
<span class='item-bullet -p2'></span>
<span class='item-bullet -p3'></span>
<span class='item-bullet -p4'></span>
<span class='item-bullet -p5'></span>
<span class='item-bullet -p6'></span>
<span class='item-bullet -p7'></span>
<span class='item-bullet -p8'></span>
<span class='item-bullet -p9'></span>
<span class='item-bullet -p10'></span>
<span class='item-bullet -p11'></span>
<span class='item-bullet -p12'></span>
</body>
</html>
CSS pie graphs - Script Codes CSS Codes
.item-bullet { display: inline-block; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(to right, #ECEFF1 50%, #4CAF50 50%); overflow: hidden; position: relative;
}
.item-bullet::before { content: ''; display: block; width: 50%; height: 100%; background: #ECEFF1; position: absolute; top: 0%; left: 50%; transform-origin: 0 50%; transform: rotate(0deg);
}
.item-bullet.-p7::before,
.item-bullet.-p8::before,
.item-bullet.-p9::before,
.item-bullet.-p10::before,
.item-bullet.-p11::before,
.item-bullet.-p12::before { background: #4CAF50;
}
.item-bullet.-p1::before { transform: rotate(30deg); }
.item-bullet.-p2::before { transform: rotate(60deg); }
.item-bullet.-p3::before { transform: rotate(90deg); }
.item-bullet.-p4::before { transform: rotate(120deg); }
.item-bullet.-p5::before { transform: rotate(150deg); }
.item-bullet.-p6::before { display: none; }
.item-bullet.-p7::before { transform: rotate(30deg); }
.item-bullet.-p8::before { transform: rotate(60deg); }
.item-bullet.-p9::before { transform: rotate(90deg); }
.item-bullet.-p10::before { transform: rotate(120deg); }
.item-bullet.-p11::before { transform: rotate(150deg); }
.item-bullet.-p12::before { transform: rotate(180deg); }
Developer | Rico Sta. Cruz |
Username | rstacruz |
Uploaded | January 19, 2023 |
Rating | 3 |
Size | 1,722 Kb |
Views | 6,072 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A Pen by Rico Sta. Cruz | 2,346 Kb |
Styled file input | 2,218 Kb |
Waves | 2,865 Kb |
Decca example | 2,444 Kb |
Diff-based typing test | 4,262 Kb |
Swipeshow demo | 2,133 Kb |
Gradient washing | 1,714 Kb |
Daily UI 6 | 3,115 Kb |
Password strength meter | 5,269 Kb |
Offgrid images | 2,610 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Sequence.js - Sliding Horizontal Parallax | Maheshc | 4,537 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
Project Euler Problem 17 | Bfillmer | 2,739 Kb |
Flat buttons for Eliassen.com | Kdooley89 | 1,737 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
NT Tribute | Skybutterfly | 2,850 Kb |
Experiments with Vertical Centering | KatieK2 | 3,924 Kb |
Monochrome Form | AlienPiglet | 3,096 Kb |
Template | Indra_z85 | 2,323 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!