jQuery Stylish and Simple Progress Bar Plugin ProBars

Add-ons
2026-07-25 23:37 5 次浏览 • 0 次下载 17.5KB
jQuery Stylish and Simple Progress Bar Plugin ProBars

Usage

Add 'pro-bars.min.css', 'pro-bars.min.js', and 'visible.min.js' to your document. Using ProBars requires simple HTML markup and several specific class names. If no color class is provided, it uses a default gray color scheme. It uses a flat color scheme for the progress bar style. Two data attributes must be specified: data-pro-bar-percent for the percentage value and data-pro-bar-delay for the animation delay. Since it relies on jQuery animations, the bar length animates from 0 to 'x'.

1
2
3
4
5
<div class="pro-bar-container color-nephriti">
<div class="pro-bar bar-50 color-emerald" data-pro-bar-percent="50" data-pro-bar-delay="100">
<div class="pro-bar-candy"></div>
</div>
</div>

By default, candy stripes are static. To animate the stripes from left to right or right to left, apply the candy-ltr or candy-rtl class to the pro-bar-candy element. Remove the pro-bar-candy element to display a plain progress bar.


星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare