Skip to content

Instantly share code, notes, and snippets.

@erikjung
erikjung / 0_reuse_code.js
Last active August 29, 2015 14:13
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
@erikjung
erikjung / dabblet.css
Created May 1, 2013 05:36 — forked from oli/dabblet.css
Animations plus animations/transitions
/* Animations plus animations/transitions */
/* ref: http://mattwilcox.net/sandbox/css3-animations-1/index.htm */
/* also ref: http://css-tricks.com/restart-css-animation/ */
.animate-on-load {animation: bgcolor 3s;}
.animate-on-hover:hover {animation: bgcolor 3s;}
.animate-on-hover2:hover {animation: bgcolor2 3s;} /* change anim name */
.animate-on-hover3:hover {animation: bgcolor 2.9s;} /* change duration */
.animate-on-hover4:hover {animation: bgcolor 3s 2;} /* change iteration-count */
.transition-on-hover {transition: background-color 2s;}
.transition-on-hover:hover {background-color: #777;}
@erikjung
erikjung / dabblet.css
Created October 9, 2012 03:10 — forked from lensco/dabblet.css
Fun with filters
/* Fun with filters */
body {
background: #ddd;
margin: 2em;
}
h1 {
font-size: 5em;
text-shadow: 0 1em 0 rgba(0,0,0,.33);