Skip to content

Instantly share code, notes, and snippets.

View thathurtabit's full-sized avatar

Stephen Fairbanks thathurtabit

View GitHub Profile
@thathurtabit
thathurtabit / Gruntfile.js
Last active December 17, 2015 23:59
My basic Gruntfile.js - used to copy files form development to deploy, set-up sass/compass, uglify js, jshint, compress css and watch all files / folders.
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
//Read the package.json (optional)
pkg: grunt.file.readJSON('package.json'),
// Metadata.
meta: {
@thathurtabit
thathurtabit / index.html
Created March 22, 2013 19:39
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>
@thathurtabit
thathurtabit / index.html
Created March 22, 2013 19:26
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.
<div class="progress-wrap progress" data-progress-percent="25">
<div class="progress-bar progress"></div>
</div>
@thathurtabit
thathurtabit / index.html
Created March 22, 2013 13:35
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.
<div class="progress-wrap progress" data-progress-percent="22">
<div class="progress-bar progress"></div>
</div>