Skip to content

Instantly share code, notes, and snippets.

View cynx's full-sized avatar
👓
blow

cynx cynx

👓
blow
View GitHub Profile
@cynx
cynx / index.html
Created November 18, 2015 11:52 — forked from thathurtabit/index.html
A CodePen by Stephen Fairbanks. Super Simple Progress Bar - This progress bar uses the HTML5 custom data-* attribute to allow for quick updating to a progress bar animated by Zepto (or jQuery). The animation is wrapped in a window.resize function to reanimate if the browser size is changed.
<!-- Change the below data attribute to play -->
<div class="progress-wrap progress" data-progress-percent="25">
<div class="progress-bar progress"></div>
</div>