Skip to content

Instantly share code, notes, and snippets.

@danielbrodin
danielbrodin / Sublime-Fetch
Created March 30, 2012 05:49
sources for Fetch
{
"files":
{
"history" : "https://raw.github.com/balupton/history.js/master/scripts/compressed/history.js",
"incrementable" : "https://raw.github.com/LeaVerou/Incrementable/master/incrementable.js",
"jquery" : "http://code.jquery.com/jquery.min.js",
"json2" : "https://raw.github.com/douglascrockford/JSON-js/master/json2.js",
"modernizr" : "https://raw.github.com/Modernizr/Modernizr/master/modernizr.js",
"normalize.css" : "https://raw.github.com/necolas/normalize.css/master/normalize.css",
"prefixfree" : "https://raw.github.com/LeaVerou/prefixfree/master/prefixfree.min.js",
@danielbrodin
danielbrodin / Sublime-preferences
Created March 27, 2012 21:12
Sublime Text 2 settings
{
"alignment_chars":
[
"=",
":",
"-"
],
"alignment_space_chars":
[
"=",
@danielbrodin
danielbrodin / dabblet.css
Created January 26, 2012 18:55
Testing calc()
/**
* Testing calc()
*/
.wrapper { width: 500px; background: #bbb; }
.example1 {
background: #222;
width: 100%;
height: 100px;
margin: 20px;
@danielbrodin
danielbrodin / dabblet.css
Created December 17, 2011 21:27
CSS3 button - WIP
/**
* CSS3 button - WIP
* @danielbrodin
*/
html { background: #e8e8e8; }
body { padding: 100px }
.button {
background: #ccc;
background: linear-gradient(bottom,rgba(161,213,79,1) 50%, rgba(124,188,10,1) 100%);
@danielbrodin
danielbrodin / dabblet.css
Created December 17, 2011 17:06
CSS3 button - WIP
/**
* CSS3 button - WIP
* @danielbrodin
*/
html { background: #e8e8e8; }
body { padding: 100px }
.button {
background: #ccc;
background: linear-gradient(bottom, rgba(198,209,138,1) 0%,rgba(142,185,42,1) 50%,rgba(114,170,0,1) 51%,rgba(158,203,45,1) 100%);
@danielbrodin
danielbrodin / dabblet.css
Created December 16, 2011 11:58
CSS3 menu
/**
* CSS3 menu
* @danielbrodin
*/
html { background: #e8e8e8; }
.nav { margin: 50px; padding: 0; }
.nav li { list-style: none; float: left; }
.nav a {
font: 12px sans-serif;