Skip to content

Instantly share code, notes, and snippets.

@ddprrt
ddprrt / dabblet.css
Created June 11, 2012 09:52
Untitled
body {
background: grey;
padding: 100px;
}
div {
background: white;
height: 300px;
position: relative;
width: 400px;
/* BEGIN CRAZINESS */
/**
* Popart
*/
img {
display: block;
}
img.third,
img.first {
@ddprrt
ddprrt / dabblet.css
Created June 11, 2012 09:44
CSS Shadows
/* CSS Shadows */
body {
background: grey;
padding: 100px;
}
div {
background: white;
height: 300px;
position: relative;
width: 400px;
@ddprrt
ddprrt / dabblet.css
Created April 17, 2012 07:06
Flexbox Overlay
/**
* Flexbox Overlay
*/
body {
margin: 0;
}
#overlay {
position: fixed;
@ddprrt
ddprrt / dabblet.css
Created April 11, 2012 16:23
IE8 CSS only Accordion
/* IE8 CSS only Accordion */
a.accord ~ div.container {
height: 0px;
overflow: hidden;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
}
@ddprrt
ddprrt / dabblet.css
Created February 29, 2012 11:34
Tab box using :target
/**
* Tab box using :target
*/
.container {
position: relative;
top: 300px;
}
ul {
font: normal normal normal 14px/16px Arial;
@ddprrt
ddprrt / dabblet.css
Created February 29, 2012 11:03
Tab box using :target
/**
* Tab box using :target
*/
.container {
position: relative;
top: 300px;
}
ul {
font: normal normal normal 14px/16px Arial;
@ddprrt
ddprrt / dabblet.css
Created February 3, 2012 09:22
Tab box using :target
/**
* Tab box using :target
*/
.container {
position: relative;
margin-top: 300px;
}
ul {
font: normal normal normal 14px/16px Arial;
@ddprrt
ddprrt / dabblet.css
Created February 3, 2012 08:44
Tab box using :target
/**
* Tab box using :target
*/
ul {
font: normal normal normal 14px/16px Arial;
list-style-type: none;
margin: 200px 0;
padding: 0;
}
@ddprrt
ddprrt / dabblet.css
Created January 31, 2012 12:55
Tab box using :target
/**
* Tab box using :target
*/
ul {
font: normal normal normal 14px/16px Arial;
list-style-type: none;
margin: 200px 0;
padding: 0;
}