View index.js
This file contains 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
// This is needed to prevent onreadystatechange being run twice | |
var ready = false; | |
document.onreadystatechange = function() { | |
if (ready) { | |
return; | |
} | |
// interactive = DOMContentLoaded & complete = window.load |
View css.css
This file contains 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
a { | |
transition: all .3s cubic-bezier(.3,2,.5,.8); | |
} |
View hidpi.css
This file contains 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
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), | |
only screen and (min--moz-device-pixel-ratio: 1.3), | |
only screen and (-o-min-device-pixel-ratio: 1.3), | |
only screen and (min-resolution: 125dpi), | |
only screen and (min-resolution: 1.3dppx) { | |
/* Content goes below*/ | |
} |
View Boost <form>
This file contains 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
<form action="#" class="form_stacked"> | |
</form> |
View Boost form items
This file contains 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
<ul> | |
<li> | |
<label for="name">Name</label> | |
<div class="input"> | |
<input type="text" id="name" placeholder="Zander Martineau" /> | |
</div> | |
</li> | |
<li> | |
<label for="email">Email</label> |
View Boost form item
This file contains 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
<li> | |
<label for="name">Label</label> | |
<div class="input"> | |
<input type="text" id="name" placeholder="Zander Martineau" /> | |
</div> | |
</li> |
View Boost 2 columns
This file contains 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
<div class="row"> | |
<div class="grid_6 column"> | |
</div> | |
<div class="grid_6 column"> | |
</div> | |
</div> |
View Boost row
This file contains 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
<div class="row"> | |
</div> |
View Boost form note
This file contains 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
<span class="form_note">?<span>First name & last name</span></span> |
View Boost column
This file contains 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
<div class="grid_6 column"> | |
</div> |
OlderNewer