This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset=utf-8> | |
<title></title> | |
<style> | |
.container { | |
width: 80%; | |
margin: auto; | |
overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get files here: https://github.com/LeaVerou/HTML5-Progress-polyfill | |
// Also get custom build of Modernizr - with Modernizr.load, and the Community Progress add-on | |
Modernizr.load({ | |
test: Modernizr.progressbar, | |
nope: [ | |
'js/progressPoly.js', | |
'css/progressPoly.css' | |
] | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function meThinks(assertion) { | |
return { | |
shouldEqual: function(bool) { | |
if ( assertion !== bool ) { | |
throw new Error('FAIL'); | |
} | |
} | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var addEvent = (function () { | |
var filter = function(el, type, fn) { | |
for ( var i = 0, len = el.length; i < len; i++ ) { | |
addEvent(el[i], type, fn); | |
} | |
}; | |
if ( document.addEventListener ) { | |
return function (el, type, fn) { | |
if ( el && el.nodeName || el === window ) { | |
el.addEventListener(type, fn, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Prompt IE6 users to install Chrome Frame --> | |
<!--[if lt IE 7 ]> | |
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script> | |
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script> | |
<![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- The Basics --> | |
<div class="container"> | |
<div class="row"> | |
<div class="eight columns"> | |
Eight columns | |
</div> | |
<div class="four columns"> | |
Four columns | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Foundation v2.1.1 http://foundation.zurb.com */ | |
/* Artfully Masterminded by ZURB */ | |
/* -------------------------------------------------- | |
Reveal Modals | |
-------------------------------------------------- */ | |
.reveal-modal-bg { | |
position: fixed; |