Flat Progress Bar CSS e HTML

Developer
Size
3,296 Kb
Views
68,816

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 Previews

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+'%');
});
Flat Progress Bar CSS e HTML - Script Codes
Flat Progress Bar CSS e HTML - Script Codes
Home Page Home
Developer Shankar Cabus
Username shankarcabus
Uploaded June 24, 2022
Rating 4.5
Size 3,296 Kb
Views 68,816
Do you need developer help for Flat Progress Bar CSS e HTML?

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!

Shankar Cabus (shankarcabus) Script Codes
Create amazing Facebook ads with AI!

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!