
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
percentify-circle
Advanced tools
Pure CSS3 Percentage Circle with icons and custom content support
$ git clone https://github.com/pradeep1991singh/percentify.git
$ cd percentify
$ yarn install
$ npm run start
dist
folder in your project And then add css file in head tag of html file<link rel="stylesheet" href="dist/percentify.css">
<!-- With Android Icon -->
<div class="percentify p33 cfs100 orange active">
<span class="android-icon ifs25"></span>
<div class="slice">
<div class="bar"></div>
<div class="fill"></div>
</div>
</div>
<!-- With Custom text -->
<div class="percentify p80 cfs200 thinner hover active">
<span class="text ifs50">80%</span>
<div class="slice">
<div class="bar"></div>
<div class="fill"></div>
</div>
</div>
<!-- Template details
percentify: will define percentage main element
p33: percentage of circle need to fill i.e. 33%
cfs100: circle size i.e. 100px, range 12px-500px
orange: orange theme
thinner: border size, available thin, thinner or by default normal
hover: for hover effects
active: make circle inner content active
i.e. as theme is orange it will make inner content color orange
android-icon: android icon class name
ifs25: icon size i.e. 25px, range 12px-500px
text: custom text class name
-->
<script src="/dist/percentage-counter.js"></script>
<script src="/dist/scripts/percentage-counter.js"></script>
<div class="percentify p0 cfs400 green">
<span class="text ifs100">0%</span>
<div class="slice">
<div class="bar"></div>
<div class="fill"></div>
</div>
</div>
<label for="example-android-icon" class="label label-example">
<code>Percentage Progress Circle</code>
</label>
<script>
window.onload = function () {
percentify.percentageCounter({});
};
</script>
FAQs
Pure CSS3 Percentage Circle with icons and custom content support
We found that percentify-circle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.