Skip to content

Instantly share code, notes, and snippets.

@erikjung
erikjung / dabblet.css
Created February 11, 2014 18:01
Untitled
* {
margin: 0;
}
html {
font-size: 13px;
font-family: sans-serif;
}
body {
@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 February 9, 2012 05:18
Better Floating Tiles
/* Better Floating Tiles */
* {
box-sizing:border-box;
}
body {
margin:0 auto;
width:51em;
}
@erikjung
erikjung / dabblet.css
Created February 9, 2012 06:01
A Kind of Reset
/**
* A Kind of Reset
*/
* {
margin:0;
padding:0;
box-sizing:border-box;
border:0;
}
@erikjung
erikjung / dabblet.css
Created February 12, 2012 02:03
Asides Concept
/**
* Asides Concept
*/
* {
box-sizing:border-box;
margin:0;
}
html {
@erikjung
erikjung / dabblet.css
Created February 14, 2012 18:24
Aspect Ratios
/**
* Aspect Ratios
*/
html {
min-height:100%;
}
body {
background:url(//placehold.it/480x480) no-repeat;
@erikjung
erikjung / dabblet.css
Created February 16, 2012 08:51
Article Index Concept
/* Article Index Concept */
* {
margin:0;
box-sizing:border-box;
}
html {
background-color:#eee;
font-size:16px;
@erikjung
erikjung / dabblet.css
Created February 19, 2012 00:16
Type Scale
/**
* Type Scale
*/
html {
font-family:sans-serif;
font-size:12px;
}
body {
@erikjung
erikjung / dabblet.css
Created February 25, 2012 10:31
Simple Grid
/*
* Simple Grid
*/
.grid {
overflow:auto;
}
.grid > div {
float:left;
@erikjung
erikjung / dabblet.css
Created February 27, 2012 01:36
UI Pattern: "Horizontal Navigation"
/**
* UI Pattern: "Horizontal Navigation"
*/
nav[role=navigation] {
cursor: default;
}
nav[role=navigation] ul {
list-style: none;