Skip to content

Instantly share code, notes, and snippets.

@jakerocheleau
jakerocheleau / dabblet.css
Created April 27, 2013 01:37
Circular Tooltip (SO)
/**
* Circular Tooltip (SO)
* http://stackoverflow.com/q/13132864/1397351
*/
* { margin: 0; padding: 0; }
body {
overflow: hidden;
background: url(http://theearlcarlson.com/experiments/amTooltip/img/bg.jpg);
}
/* generic styles for button & circular menu */
@jakerocheleau
jakerocheleau / dabblet.css
Created March 10, 2013 15:23 — forked from kizu/dabblet.css
Centered heading with rules
/* Centered heading with rules */
h1 {
position: relative;
overflow: hidden;
white-space: nowrap;
text-align: center;
text-overflow: ellipsis;
font: 1.6em/1.1 Georgia;
padding: .2em 0;
@jakerocheleau
jakerocheleau / dabblet.css
Created January 19, 2013 14:58
2col fluid+fixed
/**
* 2col fluid+fixed
*/
html {
background: #f06;
background: linear-gradient(45deg, #c0d6e7, #90afde);
min-height: 100%; }
#wrapper {
margin: 0 auto;
@jakerocheleau
jakerocheleau / dabblet.css
Created January 19, 2013 14:26
dual-sidebar fixed columns
/**
* dual-sidebar fixed columns
*/
html {
background: #f06;
background: #dbd18d;
min-height: 100%; }
body { padding-top: 85px; }
@jakerocheleau
jakerocheleau / dabblet.css
Created January 19, 2013 14:06
3col Holy Grail
/**
* 3col Holy Grail
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
margin: 0;
padding-left: 200px; /* LC fullwidth */
padding-right: 210px; /* RC fullwidth + CC padding */
@jakerocheleau
jakerocheleau / dabblet.css
Created January 19, 2013 13:49
3col Holy Grail
/**
* 3col Holy Grail
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
margin: 0;
padding-left: 200px; /* LC fullwidth */
padding-right: 210px; /* RC fullwidth + CC padding */
@jakerocheleau
jakerocheleau / dabblet.css
Created December 15, 2012 19:51
CSS Liquid Layout (Fluid-Fixed-Fixed)
/**
* CSS Liquid Layout (Fluid-Fixed-Fixed)
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%; }
body { padding-top: 85px; }
#wrapper { margin: 0 auto; max-width: 1100px; min-width: 650px; background: #fff; }
@jakerocheleau
jakerocheleau / dabblet.css
Created December 15, 2012 19:21
columns-test-2-fixed-widths
/**
* columns-test-2-fixed-widths
* source: http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks
*/
html { background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%; padding-top: 55px; }
#wrapper { display: block; max-width: 1100px; min-width: 700px; margin: 0 auto; }
@jakerocheleau
jakerocheleau / dabblet.css
Created December 15, 2012 19:17
columns-test-2
/**
* columns-test-2
*/
html { background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%; padding-top: 55px; }
#wrapper { display: block; max-width: 1100px; min-width: 700px; margin: 0 auto; }
@jakerocheleau
jakerocheleau / dabblet.css
Created December 15, 2012 16:42
columns test
/**
* columns test
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%; }
div { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#wrapper { max-width: 1000px; margin: 0 auto; }
#container3 { float:left; width:100%; background:green; overflow:hidden; position:relative; }