Skip to content

Instantly share code, notes, and snippets.

View drsii's full-sized avatar

Dan Syme drsii

View GitHub Profile
@drsii
drsii / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<a class="tab tab-one tab-active" href="#" tabindex="0">1</a>
<a class="tab tab-two" href="#" tabindex="0">2</a>
<a class="tab tab-three" href="#" tabindex="0">3</a>
<section data-tab="one" data-tab-active=""><h2>One</h2> micro tabs are hot</section>
<section data-tab="two"><h2>Two</h2> they work really well</section>
<section data-tab="three"><h2>Three</h2>accept the annoying default browser scroll to.</section>