Examples
Skill
25%
Beautiful
Works like a charm
50%

75%
This library is made in pure JavaScript with a small CSS file.
100%
A JavaScript library for radial progress bars.
Skill
25%
Beautiful
Works like a charm
50%
75%
This library is made in pure JavaScript with a small CSS file.
100%
tox-progress.jsand
tox-progress.cssfiles on your web page. You can then add a ToxProgressBar by using this tag:
<div class="tox-progress" data-size="180" data-thickness="12" data-color="#229922" data-background="#ffffff" data-progress="25" data-speed="500"></div>
class="tox-progress". This makes the div visible to the library. There also are a few properties we can see:
class="tox-progress"div:
<div class="tox-progress" data-size="180" data-thickness="12" data-color="#229922" data-background="#ffffff" data-progress="25" data-speed="500"> <div class="tox-progress-content" data-vcenter="true"> //Add content here </div> </div>
class="tox-progress-content"to the div. If you want this content vertically centered add the
data-vcenter="true"property. You can add any content you want in here.
<script type="text/javascript"> document.addEventListener('DOMContentLoaded', function () { ToxProgress.create(); ToxProgress.animate(); }); </script>
ToxProgress.create();function generates everything needed. It has to be called before the
ToxProgress.animate();function. The
ToxProgress.animate();function can be called whenever you want.
ToxProgress.create();before you call
ToxProgress.animate();again.