Skip to content

Instantly share code, notes, and snippets.

@jakerocheleau
jakerocheleau / dabblet.css
Created September 15, 2012 22:18 — forked from jklm313/dabblet.css
Untitled
.lft-column {
width: 70%;
background: indianred;
}
.rt-column {
width: 250px;
overflow: hidden;/* This does the magic */
float: right;
@jakerocheleau
jakerocheleau / dabblet.css
Created September 17, 2012 21:22
Inner-element Hover
/**
* Inner-element Hover
*/
body { padding: 0px 20px; }
.container { position: relative; }
.mini { position: absolute; top: 10px; left: 15px;
display: none;
padding: 4px 5px;
background: rgba(255,255,255,0.8);
@jakerocheleau
jakerocheleau / dabblet.css
Created September 21, 2012 23:30
Inner-element Hover
/**
* Inner-element Hover
*/
body { padding: 0px 20px; }
.container { position: relative; }
.mini { position: absolute; top: 10px; left: 15px;
display: none;
padding: 4px 5px;
background: rgba(255,255,255,0.8);
@jakerocheleau
jakerocheleau / dabblet.css
Created December 15, 2012 16:01
html-css column layouts
/**
* html-css column layouts
*/
html { 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; }
.container { display: block; position: relative; max-width: 1000px; min-width: 550px; margin: 0 auto; }
#left { width: 220px; background:#c9c; position: absolute; left: 0; top: 0; height: 100%; }
@jakerocheleau
jakerocheleau / dabblet.css
Created December 15, 2012 16:38
html-css column layouts
/**
* html-css column layouts
*/
html { 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; min-width:750px; margin: 0 auto; }
.container { height: 100%; float: left; background: #fff; }
@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; }
@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 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: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 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 */