Skip to content

Instantly share code, notes, and snippets.

- @icons = ["happy", "wink", "devil", "wink2", "unhappy", "sleep", "thumbsup", "surprised", "displeased", "angry", "cry", "shoot"]
%header
.container
%h1 Direction-aware hover effect
%p CSS & bits of JS
.container
%ul
- @icons.each do |face|
%li
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
<style id="jsbin-css">
body {
background: #333;
width: 90%;
@forthehackofit
forthehackofit / 0_reuse_code.js
Last active August 29, 2015 14:26
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