-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This is pure JavaScript Progress bar and very Easy to customization.
- Plain color
- Linear gradient
- Radial gradient
<script src='script.js'></script>
svg { width: 300px; display: block; transform: rotate(-90deg); float: left; } svg text{ transform: rotate(90deg); transform-origin: 50% 50%; }
<div id="progresbar"></div>
This script fore plain color
<script>progressbar('#progresbar3', {backStrokeColor : '#eee',backFillColor : 'none',backStrokeWidth : '4',radius : '30',frontStrokeColor : '#ffcdc2',frontStrokeWidth : '6',frontFillColor : 'none',strokeLineCap : 'round',parcent : '50'});</script>
gradient : 'linear',gradColor: [{offset: "0%",stopColor : '#6b0404',stopOpacity : '1'},{offset: "40%",stopColor : 'red',stopOpacity : '1'}]
gradient : 'radial',gradColor: [{offset: "0%",stopColor : '#6b0404',stopOpacity : '1'},{offset: "40%",stopColor : 'red',stopOpacity : '1'}]