Skip to content

Instantly share code, notes, and snippets.

@b4z81
b4z81 / anchorinclude.js
Created March 30, 2012 09:07 — forked from scottjehl/anchorinclude.js
Anchor-include Pattern
/*
* anchor-include pattern for already-functional links that work as a client-side include
* Copyright 2011, Scott Jehl, scottjehl.com
* Dual licensed under the MIT
* Idea from Scott Gonzalez
* to use, place attributes on an already-functional anchor pointing to content
* that should either replace, or insert before or after that anchor
* after the page has loaded
* Replace: <a href="..." data-replace="articles/latest/fragment">Latest Articles</a>
* Before: <a href="..." data-before="articles/latest/fragment">Latest Articles</a>
@b4z81
b4z81 / dabblet.css
Created March 19, 2012 13:15 — forked from JoelBesada/dabblet.css
CSS States
/* CSS States */
body {
background: url(http://dabblet.com/img/noise.png);
background-color: #F5F2F0;
font-family: Georgia, serif;
font-size: 18px;
line-height: 1.6em;
text-shadow: 0 2px 0 white;
color: #222;
}
@b4z81
b4z81 / dabblet.css
Created January 24, 2012 17:16 — forked from daneden/dabblet.css
Css: Light loader
/**
* Light loader
*/
* {
margin: 0;
padding: 0;
}
html {