Flat Progress Bar CSS e HTML
How do I make an flat progress bar css e html?
Flat radial progress bar (pie). What is a flat progress bar css e html? How do you make a flat progress bar css e html? This script and codes were developed by Shankar Cabus on 24 June 2022, Friday.
Flat Progress Bar CSS e HTML - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flat Progress Bar CSS e HTML</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .progress-pie-chart { width: 200px; height: 200px; border-radius: 50%; background-color: #E5E5E5; position: relative;
}
.progress-pie-chart.gt-50 { background-color: #81CE97;
}
.ppc-progress { content: ""; position: absolute; border-radius: 50%; left: calc(50% - 100px); top: calc(50% - 100px); width: 200px; height: 200px; clip: rect(0, 200px, 200px, 100px);
}
.ppc-progress .ppc-progress-fill { content: ""; position: absolute; border-radius: 50%; left: calc(50% - 100px); top: calc(50% - 100px); width: 200px; height: 200px; clip: rect(0, 100px, 200px, 0); background: #81CE97; transform: rotate(60deg);
}
.gt-50 .ppc-progress { clip: rect(0, 100px, 200px, 0);
}
.gt-50 .ppc-progress .ppc-progress-fill { clip: rect(0, 200px, 200px, 100px); background: #E5E5E5;
}
.ppc-percents { content: ""; position: absolute; border-radius: 50%; left: calc(50% - 173.91304px/2); top: calc(50% - 173.91304px/2); width: 173.91304px; height: 173.91304px; background: #fff; text-align: center; display: table;
}
.ppc-percents span { display: block; font-size: 2.6em; font-weight: bold; color: #81CE97;
}
.pcc-percents-wrapper { display: table-cell; vertical-align: middle;
}
body { font-family: Arial; background: #f7f7f7;
}
.progress-pie-chart { margin: 50px auto 0;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="progress-pie-chart" data-percent="43"> <div class="ppc-progress"> <div class="ppc-progress-fill"></div> </div> <div class="ppc-percents"> <div class="pcc-percents-wrapper"> <span>%</span> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Flat Progress Bar CSS e HTML - Script Codes CSS Codes
.progress-pie-chart { width: 200px; height: 200px; border-radius: 50%; background-color: #E5E5E5; position: relative;
}
.progress-pie-chart.gt-50 { background-color: #81CE97;
}
.ppc-progress { content: ""; position: absolute; border-radius: 50%; left: calc(50% - 100px); top: calc(50% - 100px); width: 200px; height: 200px; clip: rect(0, 200px, 200px, 100px);
}
.ppc-progress .ppc-progress-fill { content: ""; position: absolute; border-radius: 50%; left: calc(50% - 100px); top: calc(50% - 100px); width: 200px; height: 200px; clip: rect(0, 100px, 200px, 0); background: #81CE97; transform: rotate(60deg);
}
.gt-50 .ppc-progress { clip: rect(0, 100px, 200px, 0);
}
.gt-50 .ppc-progress .ppc-progress-fill { clip: rect(0, 200px, 200px, 100px); background: #E5E5E5;
}
.ppc-percents { content: ""; position: absolute; border-radius: 50%; left: calc(50% - 173.91304px/2); top: calc(50% - 173.91304px/2); width: 173.91304px; height: 173.91304px; background: #fff; text-align: center; display: table;
}
.ppc-percents span { display: block; font-size: 2.6em; font-weight: bold; color: #81CE97;
}
.pcc-percents-wrapper { display: table-cell; vertical-align: middle;
}
body { font-family: Arial; background: #f7f7f7;
}
.progress-pie-chart { margin: 50px auto 0;
}
Flat Progress Bar CSS e HTML - Script Codes JS Codes
$(function(){ var $ppc = $('.progress-pie-chart'), percent = parseInt($ppc.data('percent')), deg = 360*percent/100; if (percent > 50) { $ppc.addClass('gt-50'); } $('.ppc-progress-fill').css('transform','rotate('+ deg +'deg)'); $('.ppc-percents span').html(percent+'%');
});
Developer | Shankar Cabus |
Username | shankarcabus |
Uploaded | June 24, 2022 |
Rating | 4.5 |
Size | 3,296 Kb |
Views | 68,816 |
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 |
Compass pure CSS | 4,350 Kb |
Single element heart | 2,602 Kb |
Front in Aracaju Logo Pure CSS | 2,581 Kb |
Conical gradient in pure CSS | 3,548 Kb |
A Pen by Shankar Cabus | 2,336 Kb |
Transformers Cube with device orientation | 2,616 Kb |
JusBrasil logo single element | 2,542 Kb |
Guest Post on CSS-Tricks | 6,425 Kb |
MacOS Beach Ball in Pure CSS | 4,268 Kb |
Super Mario CSS | 8,335 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 |
Glowing Pulse Form | Jackrugile | 2,542 Kb |
FCC Portfolio | Cmwebby | 4,304 Kb |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Experiment | Toddmoy | 2,849 Kb |
Pomodoro Clock | Osycon | 3,705 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
BenU Maintenance Site | Ksherman | 4,893 Kb |
Ionic - Wordpress REST API starter | Superpikar | 2,961 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
Mega Menu by Joni | Asakasinsky | 3,171 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!