Skip to content

Instantly share code, notes, and snippets.

View g12n's full-sized avatar

Michael Gehrmann g12n

View GitHub Profile
@g12n
g12n / dabblet.css
Created May 29, 2012 14:46
Rounded corner Images
/**
* Rounded corner Images
* compare: http://webdesignerwall.com/tutorials/css3-image-styles
*
*/
.roundImage {
border-radius: 10px;
margin: 0 0 0 9px;
display:block;
@g12n
g12n / dabblet.css
Created May 29, 2012 15:24
stacked images
/**
* stacked images
* compare: http://webdesignerwall.com/tutorials/css3-image-styles
*
*/
.roundImage {
border-radius: 5px;
margin: 0 0 0 9px;
display:block;
@g12n
g12n / dabblet.css
Created August 2, 2012 07:52
Chrome rounded corner bug test – without relative positioning
.cropImage {
display: block;
overflow: hidden;
float: left;
border: 2px solid #000;
border-radius:50px;
}
img{
vertical-align: bottom;
@g12n
g12n / dabblet.css
Created August 2, 2012 09:31 — forked from anonymous/dabblet.css
Chrome rounded corner bug test – with relative positioning
/*Chrome rounded corner bug test*/
.cropImage {
display: block;
overflow: hidden;
float: left;
border: 2px solid #000;
border-radius:50px;
/*Position Relative prohibits the div in Chrome and Safari from clipping it's child elements */
position:relative;
@g12n
g12n / dabblet.css
Created August 3, 2012 15:40
Stealing
/**
* Steal a Car
*/
#two {
background-image: -moz-element(#one);
height: 40px;
}
@g12n
g12n / dabblet.css
Created December 13, 2012 07:16
Multilevel Cheklists with :checked
/**
* Multilevel Cheklists with :checked
*/
.checklist{
list-style:none;
padding:0
}
.checklist ul{
list-style:none;
@g12n
g12n / dabblet.css
Created December 13, 2012 08:05
Flexbodx
/**
* Flexbodx
*/
section, header, aside{
border: 1px solid; margin: 0px;
}
@g12n
g12n / dabblet.css
Created January 2, 2013 12:32
Untitled
.container { overflow:hidden ; background: 0}
.pusher { margin-top:-100%; transition:margin-top .5s ease-out; }
.open .pusher { margin-top:0%; }
@g12n
g12n / dabblet.css
Created January 3, 2013 15:18
Untitled
/*CSS-Block-Buttons Text*/
.button{
border: 1px solid #ddd;
background: #efefef;
border-radius: 10px;
padding:8px;
text-align: center;
}
@g12n
g12n / dabblet.css
Created January 3, 2013 15:20
Untitled
/*CSS-Block-Buttons Text*/
.button{
border: 1px solid #ddd;
background: #efefef;
border-radius: 10px;
padding:8px;
text-align: center;
}